chore: make codes the repository root

This commit is contained in:
Eric 1549169735@qq.com
2026-08-06 21:52:03 +08:00
parent de5345607a
commit 23c9f52869
89 changed files with 21 additions and 513 deletions

20
Makefile Normal file
View File

@@ -0,0 +1,20 @@
WEB_DIR := web
.PHONY: web-install web-build build test vet check
web-install:
cd $(WEB_DIR) && npm ci
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