internal/cm: exclude certain files when copying package

This commit is contained in:
Randy Reddig
2025-03-15 22:05:45 -07:00
committed by Ron Evans
parent 211425c3e9
commit d6527ece02
5 changed files with 1 additions and 293 deletions
+1 -1
View File
@@ -277,7 +277,7 @@ wasi-syscall: wasi-cm
.PHONY: wasi-cm
wasi-cm:
rm -rf ./src/internal/cm/*
rsync -rv --delete --exclude '*_test.go' $(shell go list -modfile ./internal/wasm-tools/go.mod -m -f {{.Dir}} $(WASM_TOOLS_MODULE)/cm)/ ./src/internal/cm
rsync -rv --delete --exclude '*_test.go' --exclude '*.md' --exclude LICENSE $(shell go list -modfile ./internal/wasm-tools/go.mod -m -f {{.Dir}} $(WASM_TOOLS_MODULE)/cm)/ ./src/internal/cm
# Check for Node.js used during WASM tests.
NODEJS_VERSION := $(word 1,$(subst ., ,$(shell node -v | cut -c 2-)))