1
0
Fork 0
cmdui/Makefile

17 lines
384 B
Makefile
Raw Normal View History

2017-10-29 22:06:41 +00:00
install:
cd backend && dep ensure
cd backend && go install ./...
cd frontend && npm install
build:
cd frontend && npm run build
go-bindata-assetfs \
-o=backend/api/assets/bindata_assetfs.go \
-pkg=assets \
-prefix=frontend/build \
frontend/build/...
go build -tags=binassets -o backend/build/cmdui backend/main.go
cloc:
cloc --exclude-dir=vendor,build,node_modules .