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
|
# FontFace
|
||||||
Helvetica Font Watch Face for Pebble
|
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
|
echo PATH=$PATH:$HOME/pebble-dev/PebbleSDK-3.1/bin
|
||||||
cd $(dirname $0)
|
cd $(dirname $0)
|
||||||
|
|
||||||
|
mkdir -p pbw
|
||||||
|
|
||||||
build () {
|
build () {
|
||||||
font=$1
|
font=$1
|
||||||
color=$2
|
color=$2
|
||||||
uuid=$3
|
uuid=$3
|
||||||
name=${font}Face-$color
|
name=${font}Face-$color
|
||||||
|
tgt=pbw/$name.pbw
|
||||||
|
|
||||||
sed "s/%COLOR/$color/;s/%FONT/$font/;s/%UUID/$uuid/" appinfo.json.tmpl > appinfo.json
|
sed "s/%COLOR/$color/;s/%FONT/$font/;s/%UUID/$uuid/" appinfo.json.tmpl > appinfo.json
|
||||||
pebble build
|
pebble build
|
||||||
cp build/FontFace.pbw $name.pbw
|
cp build/FontFace.pbw $tgt
|
||||||
echo $name.pbw
|
echo $tgt
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -n "$1" ]; then
|
if [ -n "$1" ]; then
|
||||||
|
|
Loading…
Reference in New Issue