filebrowser/binary.sh
2017-03-25 19:51:26 +00:00

11 lines
358 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 _embed/templates/... _embed/public/js/... _embed/public/css/... _embed/public/ace/src-min/...
gitversion -s -o page/version.go -p page
gofmt -w page/version.go
gofmt -w assets/binary.go
git add -A