Files
gonic/_do_gen_assets
sentriz ba2f835c22 remove concept of prod and dev assets
instead always do the "prod" thing, but use entr for restarting the
server for all assets
2019-07-08 13:36:26 +01:00

12 lines
268 B
Bash
Executable File

#!/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/ \
{} +