diff options
| author | mo khan <mo@mokhan.ca> | 2016-12-22 12:43:00 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2016-12-22 12:43:00 -0700 |
| commit | 129c7cb9d88de2e772f152278e2cb377d64d62e4 (patch) | |
| tree | 855823683c9f3b89fd3afbf63a212ccbdee2df9f /Rakefile | |
| parent | fa415002295e9b5761cd9563345679203ad8a848 (diff) | |
add rake task to release android apk.
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 8 |
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 |
