remove concept of prod and dev assets
instead always do the "prod" thing, but use entr for restarting the server for all assets
This commit is contained in:
11
_do_gen_assets
Executable file
11
_do_gen_assets
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
find server/assets/ \
|
||||
-type f \
|
||||
-exec go run \
|
||||
cmd/gonicembed/main.go \
|
||||
-out-path server/assets_bytes.go \
|
||||
-package-name server \
|
||||
-assets-var-name assetBytes \
|
||||
-asset-path-prefix server/assets/ \
|
||||
{} +
|
||||
Reference in New Issue
Block a user