aboutsummaryrefslogtreecommitdiff
path: root/scripts/install-robolectric.sh
diff options
context:
space:
mode:
authorErich Douglass <erich.douglass@gmail.com>2015-01-06 15:55:56 -0800
committerErich Douglass <erich.douglass@gmail.com>2015-01-06 15:56:17 -0800
commit4a8d9f666506e2b189dc0c8bfed705f2930252a4 (patch)
treeb79c2c91703d656f61d9fa4f55bd9d74a147a97d /scripts/install-robolectric.sh
parentd0c25cc459f953c7580f06c206847149b8027c50 (diff)
downloadrobolectric-shadows-4a8d9f666506e2b189dc0c8bfed705f2930252a4.tar.gz
Deploy all artifacts to Sonatype at once so that the SNAPSHOT versions match.
Diffstat (limited to 'scripts/install-robolectric.sh')
-rwxr-xr-xscripts/install-robolectric.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/install-robolectric.sh b/scripts/install-robolectric.sh
index 64960adad..75e15051a 100755
--- a/scripts/install-robolectric.sh
+++ b/scripts/install-robolectric.sh
@@ -5,6 +5,7 @@ set -e
PROJECT=$(cd $(dirname "$0")/..; pwd)
# Build everything
+cd "$PROJECT"; mvn clean -Pdist
cd "$PROJECT"; mvn clean install -DskipTests
# Build older shadow packages
@@ -15,4 +16,4 @@ cd "$PROJECT"/robolectric-shadows/shadows-core; mvn clean velocity:velocity inst
cd "$PROJECT"/robolectric-shadows/shadows-core; mvn clean velocity:velocity install -Pandroid-19
# Build everything with tests (tests require the shadows)
-cd "$PROJECT"; mvn install
+cd "$PROJECT"; mvn test