From 7b11b43dc4a121dcc79de7160940b5da5a563cfb Mon Sep 17 00:00:00 2001 From: Tankred Hase Date: Thu, 24 Jul 2014 09:40:00 +0200 Subject: [PATCH] Add build/singing scripts --- res/ant.properties | 2 ++ res/build_cca.sh | 10 +++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 res/ant.properties diff --git a/res/ant.properties b/res/ant.properties new file mode 100644 index 0000000..df11fc3 --- /dev/null +++ b/res/ant.properties @@ -0,0 +1,2 @@ +key.store=${user.home}/.keystore +key.alias=mykey \ No newline at end of file diff --git a/res/build_cca.sh b/res/build_cca.sh index 77ef8a7..275df78 100755 --- a/res/build_cca.sh +++ b/res/build_cca.sh @@ -6,6 +6,14 @@ cd .. DIR=release/cca +# create rm -rf $DIR mkdir -p $DIR -cca create $DIR/Whiteout --link-to=dist/manifest.json \ No newline at end of file +cca create $DIR/Whiteout --link-to=dist/manifest.json + +#prepare +cd $DIR/Whiteout +cca prepare + +# cp signing config +cp ../../../res/ant.properties ./platforms/android/ \ No newline at end of file