Files
opsxdb/Makefile
T

41 lines
493 B
Makefile

.PHONY: install web gui all server stop status build-web test test-go test-ui desktop
install:
npm install
npm --prefix apps/desktop install
web:
./run.sh web
gui:
./run.sh gui
all:
./run.sh all
server:
./run.sh server
stop:
./run.sh stop
status:
./run.sh status
desktop:
./run.sh desktop
build-web:
npm run build:web
# test = Go 后端用例 + UI 回归
test:
$(MAKE) test-go
$(MAKE) test-ui
test-go:
cd server && go test ./...
test-ui:
npm run test:ui --if-present