diff options
author | Lindolfo 'Lorn' Rodrigues <lorn@lornlab.org> | 2019-02-13 16:40:19 -0200 |
---|---|---|
committer | Lindolfo 'Lorn' Rodrigues <lorn@lornlab.org> | 2019-02-13 16:59:20 -0200 |
commit | ab206a90b61f7b411dae49e0676cd64165ee10f2 (patch) | |
tree | 467b6b9d2624bf1acd3ed9a9215baf295088df9a /script/run | |
parent | bump version (diff) |
Support Elixir-1.8
Also dropped support for elixir < 1.6
Diffstat (limited to 'script/run')
-rwxr-xr-x | script/run | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/script/run b/script/run new file mode 100755 index 0000000..f62cc36 --- /dev/null +++ b/script/run @@ -0,0 +1,9 @@ +#!/bin/bash -xe + +source "$(dirname "${BASH_SOURCE[0]}")/common.sh" + +if [[ "$#" -gt 0 ]] ; then + $DOCKER_COMPOSE run --rm $(power_dnsex_env) web "$@" +else + $DOCKER_COMPOSE run --service-ports --rm $(power_dnsex_env) web iex -S mix do hex.info +fi |