code refactor

This commit is contained in:
Ulric Qin 2023-11-15 10:33:38 +08:00
parent 68eb7cb57e
commit 2b55ed9b46
1 changed files with 1 additions and 0 deletions

1
fe.sh
View File

@ -20,6 +20,7 @@ GOPATH=$(go env GOPATH)
GOPATH=${GOPATH:-/home/runner/go}
# Embed files into a go binary
# go install github.com/rakyll/statik
if ! $GOPATH/bin/statik -src=./pub -dest=./front; then
echo "failed to embed files into a go binary!"
exit 4