Skip to content

Commit

Permalink
add package-android to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Todd Blose committed May 12, 2016
1 parent 46b5314 commit ccd3792
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Makefile
Expand Up @@ -403,7 +403,7 @@ package-darwin: package-darwin-manoto

binaries: docker-assets docker-linux docker-windows darwin

packages: require-version require-secrets clean-desktop clean-mobile docker-assets docker-package-windows docker-package-linux package-darwin android-release
packages: require-version require-secrets clean-desktop clean-mobile docker-assets docker-package-windows docker-package-linux package-darwin package-android

# Override implicit docker-packages to avoid building whole packages target in
# docker, since it builds the pieces it needs in docker itself.
Expand Down Expand Up @@ -434,7 +434,7 @@ release-qa: require-version require-s3cmd
$(S3CMD) cp s3://$(S3_BUCKET)/$$NAME s3://$(S3_BUCKET)/$$VERSIONED && \
$(S3CMD) setacl s3://$(S3_BUCKET)/$$VERSIONED --acl-public; \
done && \
for NAME in update_darwin_amd64 update_linux_386 update_linux_amd64 update_windows_386 ; do \
for NAME in update_darwin_amd64 update_linux_386 update_linux_amd64 update_windows_386 update_android_arm ; do \
mv $$NAME.bz2 $$NAME-$$VERSION.bz2 && \
echo "Copying versioned name $$NAME-$$VERSION.bz2..." && \
$(S3CMD) put -P $$NAME-$$VERSION.bz2 s3://$(S3_BUCKET); \
Expand Down Expand Up @@ -624,6 +624,10 @@ android-install: $(LANTERN_MOBILE_ANDROID_DEBUG)
clean-assets:
rm -f $(RESOURCES_DOT_GO)

package-android: require-version require-secrets-dir $(LANTERN_MOBILE_ANDROID_RELEASE)
cat lantern-installer.apk | bzip2 > update_android_arm.bz2 && \
echo "-> lantern-installer.apk"

# Provided for backward compatibility with how people used to use the makefile
update-dist: clean-assets assets

Expand Down

0 comments on commit ccd3792

Please sign in to comment.