17 lines
384 B
Makefile
17 lines
384 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
|
|
|
|
cloc:
|
|
cloc --exclude-dir=vendor,build,node_modules .
|