blob: 75e15051a1d48a6ae11328964f3530e3d2e504e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/bash
set -e
PROJECT=$(cd $(dirname "$0")/..; pwd)
# Build everything
cd "$PROJECT"; mvn clean -Pdist
cd "$PROJECT"; mvn clean install -DskipTests
# Build older shadow packages
cd "$PROJECT"/robolectric-shadows/shadows-core; mvn clean velocity:velocity install -Pandroid-15
cd "$PROJECT"/robolectric-shadows/shadows-core; mvn clean velocity:velocity install -Pandroid-16
cd "$PROJECT"/robolectric-shadows/shadows-core; mvn clean velocity:velocity install -Pandroid-17
cd "$PROJECT"/robolectric-shadows/shadows-core; mvn clean velocity:velocity install -Pandroid-18
cd "$PROJECT"/robolectric-shadows/shadows-core; mvn clean velocity:velocity install -Pandroid-19
# Build everything with tests (tests require the shadows)
cd "$PROJECT"; mvn test
|