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 assets_path=server/assets
# only build once for some slightly faster live page reloading # only build once for some slightly faster live page reloading
if [[ ! -e "$embed_bin_path" ]]; then test ! -e "$embed_bin_path" && go build \
go build \ -o "$embed_bin_path" \
-o "$embed_bin_path" \ cmd/gonicembed/main.go
cmd/gonicembed/main.go
fi
find $assets_path/ \ find $assets_path/ \
-type f \ -type f \