.PHONY: dev dev-web build build-go build-web run test tidy clean docker-build docker-push-prebuilt export GOPROXY ?= https://goproxy.cn,direct export GOSUMDB ?= sum.golang.google.cn export IMAGE_PREFIX ?= docker.1panel.live/library/ export APK_MIRROR ?= mirrors.aliyun.com export DOCKER_PLATFORM ?= linux/amd64 export APP_IMAGE ?= atlas:latest dev: @echo "Run backend and frontend in separate terminals:" @echo " make run" @echo " make dev-web" dev-web: cd web && npm install && npm run dev build-web: cd web && npm install && npm run build rm -rf internal/api/static/* cp -r web/dist/* internal/api/static/ build: build-web go build -o dist/app ./cmd/app build-go: go build -o dist/app ./cmd/app run: go run ./cmd/app tidy: go mod tidy test: go test ./... clean: rm -rf dist web/dist internal/api/static .docker-bin @echo '