mirror of https://github.com/nealey/FontFace
Update readme
This commit is contained in:
parent
b4db27087c
commit
27a7491809
10
README.md
10
README.md
|
@ -1,2 +1,8 @@
|
|||
# HelveticaFace
|
||||
Helvetica Font Watch Face for Pebble
|
||||
# FontFace
|
||||
Watch Face for Pebble, like the built-in "Simplicity",
|
||||
but with a better font.
|
||||
|
||||
This project actually builds a whole lot of .pbw files,
|
||||
each with the same functionality but different appearance.
|
||||
|
||||
I like fonts, okay.
|
||||
|
|
8
build.sh
8
build.sh
|
@ -3,15 +3,19 @@
|
|||
echo PATH=$PATH:$HOME/pebble-dev/PebbleSDK-3.1/bin
|
||||
cd $(dirname $0)
|
||||
|
||||
mkdir -p pbw
|
||||
|
||||
build () {
|
||||
font=$1
|
||||
color=$2
|
||||
uuid=$3
|
||||
name=${font}Face-$color
|
||||
tgt=pbw/$name.pbw
|
||||
|
||||
sed "s/%COLOR/$color/;s/%FONT/$font/;s/%UUID/$uuid/" appinfo.json.tmpl > appinfo.json
|
||||
pebble build
|
||||
cp build/FontFace.pbw $name.pbw
|
||||
echo $name.pbw
|
||||
cp build/FontFace.pbw $tgt
|
||||
echo $tgt
|
||||
}
|
||||
|
||||
if [ -n "$1" ]; then
|
||||
|
|
Loading…
Reference in New Issue