From 4fce67b72e737197ae8907ad3e607e7cfe5b9cb1 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Sun, 5 Jul 2015 22:40:53 -0600 Subject: [PATCH] Build both versions now --- appinfo.json => appinfo.json.tmpl | 0 build.sh | 12 ++++++++++++ 2 files changed, 12 insertions(+) rename appinfo.json => appinfo.json.tmpl (100%) create mode 100755 build.sh 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