mirror of
https://github.com/edgurgel/httparrot
synced 2025-04-05 08:12:31 -04:00
Add render build script
This commit is contained in:
parent
4f87d8262a
commit
e716a1a327
1 changed files with 10 additions and 0 deletions
10
build.sh
Executable file
10
build.sh
Executable file
|
@ -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
|
Loading…
Add table
Reference in a new issue