diff --git a/Makefile b/Makefile index 74d4fa98..8cb0a2e4 100644 --- a/Makefile +++ b/Makefile @@ -93,7 +93,8 @@ frontend: contracts build: frontend cd $(BACKEND) && CGO_ENABLED=0 go build -trimpath -ldflags "-s -w -X main.version=$(VERSION)" -o ../../$(BIN) ./cmd/agent-system - @echo "OK: $(BIN)(版本 $(VERSION);随附插件目录 $(PLUGINS)/)" + cd $(BACKEND) && CGO_ENABLED=0 go build -trimpath -ldflags "-s -w" -o ../../bin/storage-migrate ./cmd/storage-migrate + @echo "OK: $(BIN)(版本 $(VERSION);随附插件目录 $(PLUGINS)/)+ bin/storage-migrate(协作存储 U4 迁移工具)" test-core: cd $(CORE) && go test ./...