Skip to content

Commit baa4100

Browse files
committed
fix: delete wrong ways to run ai plugin
1 parent 8f6b2ad commit baa4100

File tree

1 file changed

+2
-21
lines changed

1 file changed

+2
-21
lines changed

tools/make/run.mk

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,9 @@ ATEST_UI = console/atest-ui
88

99
##@ Local runs & init env
1010

11-
.PHONY: build-ai-plugin
12-
build-ai-plugin:
13-
@if [ -n "$(AI_PLUGIN_BINARY_URL)" ]; then \
14-
echo "📥 Downloading AI plugin binary from $(AI_PLUGIN_BINARY_URL)..."; \
15-
mkdir -p bin; \
16-
curl -L "$(AI_PLUGIN_BINARY_URL)" | tar xz -C bin/ --strip-components=1; \
17-
echo "✅ AI plugin binary downloaded"; \
18-
else \
19-
echo "⚠️ AI_PLUGIN_BINARY_URL not set, skipping AI plugin download"; \
20-
fi
21-
22-
.PHONY: dev-run-server
23-
dev-run-server: ## Run server in development mode
24-
dev-run-server: build-ui dev-run-backend
25-
26-
dev-run-backend:
27-
go run . server --local-storage 'bin/*.yaml' --console-path ${ATEST_UI}/dist \
28-
--extension-registry ghcr.io --download-timeout 10m
29-
3011
.PHONY: run-server
31-
run-server: ## Run the API Testing server (production mode)
32-
run-server: build-ui build-ai-plugin run-backend
12+
run-server: ## Run the API Testing server
13+
run-server: build-ui run-backend
3314
run-backend:
3415
go run . server --local-storage 'bin/*.yaml' --console-path ${ATEST_UI}/dist \
3516
--extension-registry ghcr.io --download-timeout 10m

0 commit comments

Comments
 (0)