mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-05-08 19:22:57 +00:00

Former-commit-id: 58220a0ee1c48708eed3d172d6884a9f3617ffe9 [formerly 0d570e5a54030b9c4f7e280b55816a221438df72] [formerly 3c420b9ecd469d03c3ddfafeb33d4451a2315d55 [formerly 191a3791e0edc4f474e9d86f85002d404a306710]] Former-commit-id: 0f82a221f0201448eecd54e98ac95fcdfea7ede0 [formerly 67ce3f7f0945b90ced9d7b11017286753afd8075] Former-commit-id: a91572e8026c2290095d02bf3ef125591145dbc7
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
|