1
0
Fork 0
cmdui/Makefile

20 lines
455 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
2017-11-06 23:12:06 +00:00
create_db:
sqlite3 backend/data/cmdui.db < backend/schema_sqlite.sql
2017-10-29 22:06:41 +00:00
cloc:
cloc --exclude-dir=vendor,build,node_modules .