aboutsummaryrefslogtreecommitdiffstats
path: root/mvn-phase-script.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mvn-phase-script.sh')
-rwxr-xr-xmvn-phase-script.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/mvn-phase-script.sh b/mvn-phase-script.sh
index 10d8e9e..6aa20e2 100755
--- a/mvn-phase-script.sh
+++ b/mvn-phase-script.sh
@@ -48,9 +48,15 @@ generate-sources)
;;
compile)
echo "==> compile phase script"
+ echo "=====> building "
+ rm -rf _build/;
+ /usr/bin/rebar3 upgrade;
+ /usr/bin/rebar3 release;
;;
test)
echo "==> test phase script"
+ echo "=====> testing "
+ /usr/bin/rebar3 eunit
;;
package)
echo "==> package phase script"