From a80f3ce0b074b99b6f66bf0c9db28f89d53e5847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Parm=C3=A9nides=20GV?= Date: Wed, 29 May 2013 16:06:31 +0200 Subject: README now suggest to use scripts. I've entered a new script: compile.sh I've also simlinked README.txt to README. In the future, if we want to write another file in another format (MarkDown?), we will only have to change the target of the README file. --- compile.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 compile.sh (limited to 'compile.sh') diff --git a/compile.sh b/compile.sh new file mode 100755 index 0000000..627728c --- /dev/null +++ b/compile.sh @@ -0,0 +1,3 @@ +#!/bin/bash +android update project --path . +ant debug -- cgit v1.2.3 From 4662ceb3ad0dfe9b8fef188fac5669cf9489cb06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Parm=C3=A9nides=20GV?= Date: Wed, 29 May 2013 16:16:56 +0200 Subject: Setting the name and the target in compile.sh Name is mandatory, if not provided android chooses "MainActivity" and adb install command fails because "LEAP Android-debug.apk" does not exist. Target is not mandatory, but for future references (if anybody wants to change the target, they can do it easier) I've added that flag to the command. --- compile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compile.sh') diff --git a/compile.sh b/compile.sh index 627728c..2c50e02 100755 --- a/compile.sh +++ b/compile.sh @@ -1,3 +1,3 @@ #!/bin/bash -android update project --path . +android update project --path . --name "LEAP Android" --target android-16 ant debug -- cgit v1.2.3 From 972bcbf3c848093410732e3d9b41951984da0338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Parm=C3=A9nides=20GV?= Date: Thu, 25 Jul 2013 18:22:26 +0200 Subject: Updated compile.sh to target api-17 --- compile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compile.sh') diff --git a/compile.sh b/compile.sh index 2c50e02..8d946dc 100755 --- a/compile.sh +++ b/compile.sh @@ -1,3 +1,3 @@ #!/bin/bash -android update project --path . --name "LEAP Android" --target android-16 +android update project --path . --name "LEAP Android" --target android-17 ant debug -- cgit v1.2.3