Rebuild assets before compiling binary

This commit is contained in:
Łukasz Mierzwa
2017-07-29 13:49:46 -07:00
parent 7f4ec13956
commit 2ad3ec18b8
+1
View File
@@ -50,6 +50,7 @@ endif
touch $@
bindata_assetfs.go: .build/deps.ok .build/bindata_assetfs.$(GO_BINDATA_MODE) $(ASSET_SOURCES)
webpack
go-bindata-assetfs $(GO_BINDATA_FLAGS) -prefix assets -nometadata assets/templates/... assets/static/...
$(NAME): .build/deps.ok bindata_assetfs.go $(SOURCES)