filebrowser/pre-build.sh
Henrique Dias 7f95e5e6de
remove revisioning from footer\
revisioning on footer was wrong because it would always have one revision less. From now on, it is the user's responsability to know when he have downloaded caddy (if downloaded from caddyserver.com) OR to know which revision he is in (if he built from source).
2017-04-16 09:44:42 +01:00

10 lines
308 B
Bash

#!/bin/sh
go get github.com/jteeuwen/go-bindata/go-bindata
go-bindata -pkg assets -prefix "_embed" \
-o assets/binary.go -ignore "^.*theme-([^g]|g[^i]|gi[^t]|git[^h]|gith[^u]|githu[^b]).*\.js$" \
_embed/templates/... _embed/public/js/... _embed/public/css/... _embed/public/ace/src-min/...
git add -A