1
0
mirror of https://github.com/AllanWang/Frost-for-Facebook.git synced 2024-11-10 04:52:38 +01:00
Frost-for-Facebook/docker_build.sh
Allan Wang 5139111a7f
Docker (#1411)
* Add initial docker test

* Depend on java only

* Remove android part

* Move build stuff to docker

* Use shorter docker file

* Quiet docker build

* Move quiet flag forward

* Export android home

* Echo versions

* Try generic lang

* Copy project

* Group sdk manager runs

* Reorder sdkmanager

* Gitignore generated files

* Copy apk output out of docker

* Fail if no apks found

* Install packages

* Add caching

* Name container

* Update caching

* Add package lock file

* Update folder path

* Switch home dir

* Copy folder contents

* Disable caching

* Add back gradle caching

* Remove original files from asset folder

* Try generic docker

* Delete extra loader

* Try java

* Try android

* Use java

* Restrict caching
2019-04-26 23:48:19 -07:00

12 lines
248 B
Bash
Executable File

#!/usr/bin/env bash
printf "Starting docker build\n"
npm -v
./gradlew -v
npm install --prefix app/src/web
npm run --prefix app/src/web compile
./gradlew --quiet androidGitVersion
./gradlew lintReleaseTest testReleaseUnitTest assembleReleaseTest