Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: vagrant-build.sh

Issue 29448564: Issue 5277 - Prepare Vagrant files for CI (Closed)
Patch Set: see the changes in commit message https://github.com/4ntoine/libadblockplus-android-ci/commit/d44b6f71a6efb02d46fb594e823c6e810ba79a4f Created May 25, 2017, 1:50 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « add-disk.sh ('k') | vagrant-emulator.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vagrant-build.sh
diff --git a/vagrant-build.sh b/vagrant-build.sh
index d1c97e7f8516db830de3bfd52995afa5e42de182..94517b7d5561f9ae4430649102203f4662789b4b 100755
--- a/vagrant-build.sh
+++ b/vagrant-build.sh
@@ -3,20 +3,21 @@
set -e
export ANDROID_HOME="/home/vagrant/android-sdk-linux"
-mkdir -p build && cd build
+rm -rf ./build/src
+mkdir -p ./build/src && cd ./build/src
# BEG: WIP and temporary sync step
+echo "Copying project files..."
cp -rf /vagrant/. .
rm -fv `find . -name local.properties`
# END: WIP and temporary sync step
./ensure_dependencies.py
-cd libadblockplus-android
-
echo "sdk.dir = /home/vagrant/android-sdk-linux" > local.properties
echo "ndk.dir = /home/vagrant/android-ndk-linux" >> local.properties
-cp local.properties ../libadblockplus-android-tests
-mvn clean install
+echo "Building..."
+./gradlew assemble
+echo "Done"
« no previous file with comments | « add-disk.sh ('k') | vagrant-emulator.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld