make _do_gen_assets posix

This commit is contained in:
sentriz
2020-05-02 04:19:47 +01:00
parent a4bbcb8f89
commit b93db0bff2

View File

@@ -5,11 +5,9 @@ embed_bin_path=/tmp/gonicembed
assets_path=server/assets
# only build once for some slightly faster live page reloading
if [[ ! -e "$embed_bin_path" ]]; then
go build \
-o "$embed_bin_path" \
cmd/gonicembed/main.go
fi
test ! -e "$embed_bin_path" && go build \
-o "$embed_bin_path" \
cmd/gonicembed/main.go
find $assets_path/ \
-type f \