mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
12 lines
389 B
Bash
12 lines
389 B
Bash
#!/bin/sh
|
|
|
|
go get github.com/jteeuwen/go-bindata/go-bindata
|
|
go get github.com/bountylabs/gitversion
|
|
|
|
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/...
|
|
|
|
gitversion -s -o page/version.go -p page
|
|
git add -A
|