summaryrefslogtreecommitdiff
path: root/script/setup
diff options
context:
space:
mode:
authorLindolfo 'Lorn' Rodrigues <lorn@lornlab.org>2019-02-13 16:40:19 -0200
committerLindolfo 'Lorn' Rodrigues <lorn@lornlab.org>2019-02-13 16:59:20 -0200
commitab206a90b61f7b411dae49e0676cd64165ee10f2 (patch)
tree467b6b9d2624bf1acd3ed9a9215baf295088df9a /script/setup
parentbump version (diff)
Support Elixir-1.8
Also dropped support for elixir < 1.6
Diffstat (limited to 'script/setup')
-rwxr-xr-xscript/setup6
1 files changed, 6 insertions, 0 deletions
diff --git a/script/setup b/script/setup
new file mode 100755
index 0000000..1b1d49a
--- /dev/null
+++ b/script/setup
@@ -0,0 +1,6 @@
+#!/bin/bash -xe
+
+source "$(dirname "${BASH_SOURCE[0]}")/common.sh"
+
+$DOCKER_COMPOSE build && \
+$DOCKER_COMPOSE run $(power_dnsex_env) --rm -T web bash -c "mix do deps.clean --unused --unlock, deps.get --all, deps.compile </dev/null"