File tree Expand file tree Collapse file tree 1 file changed +2
-21
lines changed Expand file tree Collapse file tree 1 file changed +2
-21
lines changed Original file line number Diff line number Diff 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
3314run-backend :
3415 go run . server --local-storage ' bin/*.yaml' --console-path ${ATEST_UI} /dist \
3516 --extension-registry ghcr.io --download-timeout 10m
You can’t perform that action at this time.
0 commit comments