1
0
Fork 0
cmdui/Makefile

20 lines
455 B
Makefile

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
create_db:
sqlite3 backend/data/cmdui.db < backend/schema_sqlite.sql
cloc:
cloc --exclude-dir=vendor,build,node_modules .