Skip to content

Commit

Permalink
Mode files to a more logical location
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon MacMullen committed Apr 22, 2015
1 parent cafc91a commit bf4edef
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ MODE=$2
./copy-mode-files.sh $MODE

RESOURCE_PATH=$(find . -path './resources*.xml' | xargs | tr ' ' ':')
monkeyc -o bin/$MODE-datafield.prg -d $DEVICE -m manifest-$MODE.xml -z $RESOURCE_PATH src/*.mc
monkeyc -o bin/$MODE-datafield.prg -d $DEVICE -m modes/$MODE/manifest.xml -z $RESOURCE_PATH src/*.mc
4 changes: 2 additions & 2 deletions copy-mode-files.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh -e
MODE=$1
cp modes/strings-$MODE.xml resources/strings.xml
cp modes/mode-$MODE.mc src/mode.mc
cp modes/$MODE/strings.xml resources/strings.xml
cp modes/$MODE/mode.mc src/mode.mc

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ monkeyc -e \
-o bin/$MODE-datafield.iq \
-w \
-z $RESOURCE_PATH \
-m manifest-$MODE.xml \
-m modes/$MODE/manifest.xml \
src/*.mc
2 changes: 1 addition & 1 deletion resources/strings.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<resources>
<string id="AppName">Pace Chart</string>
<string id="AppName">HR Chart</string>
</resources>

0 comments on commit bf4edef

Please sign in to comment.