make _do_gen_assets posix
This commit is contained in:
@@ -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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user