Commit 476733b9 authored by zauberstuhl's avatar zauberstuhl
Browse files

Add only certain dirs to bindata

fixes skipping public assets directory
parent 65611dea
Pipeline #306 passed with stages
in 22 minutes and 35 seconds
......@@ -103,8 +103,9 @@ endif
mkdir -p $(srcdir)/tmp && cd $$_ && { \
tar -x -f "../ganggo.tar.gz" ;\
[ -f "ganggo.exe" ] && mv ganggo.exe ganggo ;\
go-bindata -ignore='(vendor|node_modules|updater|ci|.*\.tar\.gz|tmp)\/' \
-o ../updater/bindata.go ganggo src/... ;\
go-bindata -o ../updater/bindata.go ganggo \
src/github.com/revel/... \
src/$(package)/{app,conf,messages,public}/... ;\
}
cd $(srcdir)/updater && go build \
-ldflags "-X main.version=$(version)" \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment