blob: 4f6b0bf5fa0a0b6f7d19c44e8bae7ea78fcd9079 [file] [log] [blame]
include ../kube/kube.mk
default: build
./modules/json/index.ts:
go run ./go/types/ts -o modules/json/index.ts
build: ./modules/json/index.ts
cd ../infra-sk && npm ci
npm ci
npx webpack --mode=production
CGO_ENABLED=0 GOOS=linux go install -a ./go/leasing
release: build
./build_docker_release
debug:
npx webpack --mode=development
push: pushk release
pushk --use-temp-checkout leasing
serve:
npx webpack-dev-server --mode=development --watch-poll
testgo:
go test ./go/...
watch:
npx webpack --mode=development --watch
.PHONY: build-frontend-ci
build-frontend-ci:
npm ci
npx webpack --mode=production