Add start
script
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
parent
391acb18ed
commit
3a58f3918b
1 changed files with 14 additions and 0 deletions
14
go-api/start
Executable file
14
go-api/start
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
rm -fr out
|
||||||
|
|
||||||
|
echo "Building..."
|
||||||
|
./build
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
source .env
|
||||||
|
|
||||||
|
./out
|
Loading…
Add table
Add a link
Reference in a new issue