Skip to content

Commit 95a5496

Browse files
committed
Removes AI plugin build process
The AI plugin build process is removed from the makefile. The AI plugin is assumed to be pre-built or handled by a separate process, simplifying the build and execution flow.
1 parent 81359b5 commit 95a5496

1 file changed

Lines changed: 1 addition & 17 deletions

File tree

tools/make/run.mk

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,12 @@
55
include tools/make/env.mk
66

77
ATEST_UI = console/atest-ui
8-
AI_PLUGIN_DIR := $(or $(AI_PLUGIN_SOURCE),../atest-ext-ai)
98

109
##@ Local runs & init env
1110

12-
.PHONY: build-ai-plugin
13-
build-ai-plugin:
14-
@if [ -n "$(AI_PLUGIN_BINARY_URL)" ]; then \
15-
echo "📥 Downloading AI plugin binary from $(AI_PLUGIN_BINARY_URL)..."; \
16-
mkdir -p bin; \
17-
curl -L "$(AI_PLUGIN_BINARY_URL)" | tar xz -C bin/ --strip-components=1; \
18-
echo "✅ AI plugin binary downloaded"; \
19-
elif [ -d "$(AI_PLUGIN_DIR)" ]; then \
20-
echo "🔨 Building AI plugin from source..."; \
21-
cd $(AI_PLUGIN_DIR) && make build; \
22-
echo "✅ AI plugin built from source"; \
23-
else \
24-
echo "⚠️ AI plugin directory not found, skipping"; \
25-
fi
26-
2711
.PHONY: run-server
2812
run-server: ## Run the API Testing server
29-
run-server: build-ui build-ai-plugin run-backend
13+
run-server: build-ui run-backend
3014
run-backend:
3115
go run . server --local-storage 'bin/*.yaml' --console-path ${ATEST_UI}/dist \
3216
--extension-registry ghcr.io --download-timeout 10m

0 commit comments

Comments
 (0)