2011-02-04 01:40:53 +00:00
|
|
|
all:
|
2011-03-18 01:15:25 +00:00
|
|
|
./check-environment.pl
|
2017-05-31 18:10:20 +00:00
|
|
|
./gradlew assembleRelease
|
2011-02-04 01:40:53 +00:00
|
|
|
|
2014-02-09 01:07:56 +00:00
|
|
|
env:
|
2014-02-08 21:58:20 +00:00
|
|
|
docker build -t camlistore/android devenv
|
2014-02-09 01:07:56 +00:00
|
|
|
|
2017-05-31 18:10:20 +00:00
|
|
|
dockerdev:
|
|
|
|
docker run --rm -v $(GOPATH)/src/camlistore.org:/home/gopher/src/camlistore.org -v $(HOME)/.gradle:/home/gopher/.gradle -v $(HOME)/.android:/home/gopher/.android -w /home/gopher/src/camlistore.org/clients/android --name camlidroid -i -t camlistore/android /bin/bash
|
|
|
|
|
2014-02-09 01:07:56 +00:00
|
|
|
dockerdebug:
|
2017-05-31 18:10:20 +00:00
|
|
|
docker run --rm -v $(GOPATH)/src/camlistore.org:/home/gopher/src/camlistore.org -v $(HOME)/.gradle:/home/gopher/.gradle -v $(HOME)/.android:/home/gopher/.android -w /home/gopher/src/camlistore.org/clients/android --name camlidroid -i -t camlistore/android go run build-in-docker.go
|
2014-02-08 21:58:20 +00:00
|
|
|
|
|
|
|
dockerrelease:
|
2017-05-31 18:10:20 +00:00
|
|
|
docker run --rm -v $(GOPATH)/src/camlistore.org:/home/gopher/src/camlistore.org -v $(HOME)/.gradle:/home/gopher/.gradle -v $(HOME)/.android:/home/gopher/.android -w /home/gopher/src/camlistore.org/clients/android --name camlidroid -i -t camlistore/android go run build-in-docker.go -release=true
|
|
|
|
|
|
|
|
installdebug:
|
|
|
|
adb install -r app/build/outputs/apk/app-debug.apk
|
|
|
|
|
|
|
|
install:
|
|
|
|
# TODO(bradfitz): step to sign app/build/outputs/apk/app-release-unsigned.apk
|
|
|
|
# adb install -r app/build/outputs/apk/app-release.apk
|
|
|
|
|
|
|
|
test:
|
|
|
|
# TODO(mpl): can't run the instrumentation tests within docker, since
|
|
|
|
# can't connect to the phone from in there.
|