diff --git a/appinfo.json b/appinfo.json.tmpl similarity index 100% rename from appinfo.json rename to appinfo.json.tmpl diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..d01197d --- /dev/null +++ b/build.sh @@ -0,0 +1,12 @@ +#! /bin/sh -e + +build () { + echo $1 + [ $1 = Black ] && uuid=1 || uuid=0 + sed "s/%COLOR/$1/;s/%UUID/$uuid/" appinfo.json.tmpl > appinfo.json + pebble build + cp build/HelveticaFace.pbw HelveticaFace-$1.pbw +} + +build Black +build White