mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-05-17 22:54:50 +08:00
move workspace templates to repo root and auto-sync into embed path at build time
This commit is contained in:
3
Makefile
3
Makefile
@@ -162,8 +162,9 @@ run: build
|
||||
@$(BUILD_DIR)/$(BINARY_NAME) $(ARGS)
|
||||
|
||||
## test: Build and compile-check in Docker (Dockerfile.test)
|
||||
test:
|
||||
test: sync-embed-workspace
|
||||
@echo "Running Docker compile test..."
|
||||
@set -e; trap '$(MAKE) cleanup-embed-workspace' EXIT; \
|
||||
docker build -f Dockerfile.test -t clawgo:test .
|
||||
@echo "Docker compile test passed"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user