summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2016-12-22 12:43:00 -0700
committermo khan <mo@mokhan.ca>2016-12-22 12:43:00 -0700
commit129c7cb9d88de2e772f152278e2cb377d64d62e4 (patch)
tree855823683c9f3b89fd3afbf63a212ccbdee2df9f /Rakefile
parentfa415002295e9b5761cd9563345679203ad8a848 (diff)
add rake task to release android apk.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
new file mode 100644
index 0000000..1edbb7a
--- /dev/null
+++ b/Rakefile
@@ -0,0 +1,8 @@
+namespace :release do
+ desc "create android release"
+ task :android do
+ # https://facebook.github.io/react-native/docs/signed-apk-android.html
+ sh "cd android && ./gradlew assembleRelease"
+ sh "ls android/app/build/outputs/apk/app-release.apk"
+ end
+end