From 3119d1cb5585f2eb338952a54607ee3b205b3696 Mon Sep 17 00:00:00 2001 From: Dominic Hamon Date: Fri, 16 Aug 2024 09:45:45 +0100 Subject: [PATCH] locked --- Makefile | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index c9b767a2f..6e9b17e17 100644 --- a/Makefile +++ b/Makefile @@ -204,35 +204,35 @@ $(1)-lint: $(GEN_RS) $(GEN_TS) .PHONY: $(1)-test $(1)-test: $(GEN_RS) $(GEN_TS) auraed - $(cargo) test -p $(1) + $(cargo) test -p $(1) --locked .PHONY: $(1)-test-all $(1)-test-all: $(GEN_RS) $(GEN_TS) auraed - $(root_cargo) test -p $(1) -- --include-ignored + $(root_cargo) test -p $(1) --locked -- --include-ignored .PHONY: $(1)-test-integration $(1)-test-integration: $(GEN_RS) $(GEN_TS) auraed - $(root_cargo) test -p $(1) --test '*' -- --include-ignored + $(root_cargo) test -p $(1) --locked --test '*' -- --include-ignored .PHONY: $(1)-test-watch $(1)-test-watch: $(GEN_RS) $(GEN_TS) auraed # Use cargo-watch to continuously run a test (e.g. make $(1)-test-watch name=path::to::test) - $(root_cargo) watch -- $(cargo) test -p $(1) $(name) -- --include-ignored --nocapture + $(root_cargo) watch -- $(cargo) test -p $(1) --locked $(name) -- --include-ignored --nocapture .PHONY: $(1)-build $(1)-build: $(GEN_RS) $(GEN_TS) - $(cargo) build -p $(1) + $(cargo) build -p $(1) --locked .PHONY: $(1)-build-release $(1)-build-release: $(GEN_RS) $(GEN_TS) - $(cargo) build -p $(1) --release + $(cargo) build -p $(1) --locked --release .PHONY: $(1)-debug $(1)-debug: $(GEN_RS) $(GEN_TS) $(1)-lint - $(cargo) install --path ./$(1) --debug --force + $(cargo) install --path ./$(1) --debug --force --locked .PHONY: $(1)-release $(1)-release: $(GEN_RS) $(GEN_TS) $(1)-lint $(1)-test ## Lint, test, and install $(1) - $(cargo) install --path ./$(1) --force + $(cargo) install --path ./$(1) --force --locked endef $(foreach p,$(PROGS),$(eval $(call AURAE_template,$(p),$(if $(findstring auraed,$(p)),)))) @@ -257,7 +257,7 @@ endif .PHONY: not-auraed-build not-auraed-build: $(GEN_RS) $(GEN_TS) - $(cargo) build --workspace --exclude auraed + $(cargo) build --workspace --locked --exclude auraed .PHONY: not-auraed-lint not-auraed-lint: $(GEN_RS) $(GEN_TS) @@ -265,11 +265,11 @@ not-auraed-lint: $(GEN_RS) $(GEN_TS) .PHONY: not-auraed-test not-auraed-test: $(GEN_RS) $(GEN_TS) - $(cargo) test --workspace --exclude auraed + $(cargo) test --workspace --locked --exclude auraed .PHONY: not-auraed-test-all not-auraed-test-all: $(GEN_RS) $(GEN_TS) - $(cargo) test --workspace --exclude auraed -- --include-ignored + $(cargo) test --workspace --locked --exclude auraed -- --include-ignored #------------------------------------------------------------------------------# @@ -281,11 +281,11 @@ libs-lint: $(GEN_RS) $(GEN_TS) .PHONY: libs-test libs-test: $(GEN_RS) $(GEN_TS) - $(cargo) test --workspace --exclude auraed --exclude auraescript --exclude aer + $(cargo) test --workspace --locked --exclude auraed --exclude auraescript --exclude aer .PHONY: libs-test-all libs-test-all: $(GEN_RS) $(GEN_TS) - $(cargo) test --workspace --exclude auraed --exclude auraescript --exclude aer -- --include-ignored + $(cargo) test --workspace --locked --exclude auraed --exclude auraescript --exclude aer -- --include-ignored .PHONY: ebpf ebpf: