aboutsummaryrefslogtreecommitdiffstats
path: root/bin/build_and_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/build_and_test.sh')
-rwxr-xr-xbin/build_and_test.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/build_and_test.sh b/bin/build_and_test.sh
new file mode 100755
index 0000000..b0456f4
--- /dev/null
+++ b/bin/build_and_test.sh
@@ -0,0 +1,12 @@
+#!/usr/local/bin/fish
+rm -rf /tmp/log/cdapbroker/*;
+rebar3 release;
+set -x NEXUS_RAW_ROOT "XXXX";
+set -x CDAP_CLUSTER_TO_MANAGE "cdap";
+set -x CONSUL_HOST "XXXX";
+set -x CONFIG_BINDING_SERVICE "config_binding_service";
+set -x HOSTNAME "cdap_broker";
+set -x REBAR3_ERL_ARGS "-sname cdapbroker@localhost";
+rebar3 local install;
+env DEBUG=1 ~/.cache/rebar3/bin/rebar3 ct;
+rebar3 eunit