From 27a749180932faf3279ec60870a2b500c4f3d2d0 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Mon, 6 Jul 2015 18:34:20 -0600 Subject: [PATCH] Update readme --- README.md | 10 ++++++++-- build.sh | 8 ++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 808cab6..e043f48 100644 --- a/README.md +++ b/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. diff --git a/build.sh b/build.sh index e3fb2f5..da42a10 100755 --- a/build.sh +++ b/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