# Go 代理（国内环境使用 goproxy.cn）
GOPROXY ?= https://goproxy.cn,direct

.PHONY: build run dev tidy clean

build:
	GOPROXY=$(GOPROXY) go build -o sharedclassmanager ./cmd/server

run:
	./sharedclassmanager

dev:
	GOPROXY=$(GOPROXY) go run ./cmd/server

tidy:
	GOPROXY=$(GOPROXY) go mod tidy

clean:
	rm -f sharedclassmanager
