24 lines
330 B
Makefile
24 lines
330 B
Makefile
WEB_DIR := web
|
|
|
|
.PHONY: web-install web-build build test vet check seed-pet-doctor
|
|
|
|
web-install:
|
|
cd $(WEB_DIR) && npm install
|
|
|
|
web-build:
|
|
cd $(WEB_DIR) && npm run build
|
|
|
|
build: web-build
|
|
go build -o bin/iqudo-top1 .
|
|
|
|
test:
|
|
go test ./...
|
|
|
|
vet:
|
|
go vet ./...
|
|
|
|
check: test vet
|
|
|
|
seed-pet-doctor:
|
|
go run ./scripts/seed-pet-doctor
|