Update readme

This commit is contained in:
Neale Pickett 2015-07-06 18:34:20 -06:00
parent b4db27087c
commit 27a7491809
2 changed files with 14 additions and 4 deletions

View File

@ -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.

View File

@ -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