instead always do the "prod" thing, but use entr for restarting the server for all assets
9 lines
140 B
Bash
Executable File
9 lines
140 B
Bash
Executable File
#!/bin/sh
|
|
|
|
source ./_build_vars
|
|
./_do_gen_assets
|
|
go build \
|
|
-o gonic \
|
|
-tags "$(tr '\n' ' ' < _build_tags)" \
|
|
cmd/gonic/main.go
|