diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..b6e8880 --- /dev/null +++ b/build.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash +# exit on error +set -o errexit + +# Initial setup +mix deps.get --only prod +MIX_ENV=prod mix compile + +# Build the release and overwrite the existing release directory +MIX_ENV=prod mix release --overwrite