summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-10-28 13:45:10 -0700
committerBryan Newbold <bnewbold@robocracy.org>2022-10-28 13:45:10 -0700
commit06c0f3345ba835f64f803b6b8aa6cf10b63819b6 (patch)
treed7b94662d45598c2746d0c40b673eba1694a5ef8 /Makefile
parentea1c10f9db0ca5ecc1741c7561cb5dba8f779a8d (diff)
downloadadenosine-06c0f3345ba835f64f803b6b8aa6cf10b63819b6.tar.gz
adenosine-06c0f3345ba835f64f803b6b8aa6cf10b63819b6.zip
Makefile: require Cargo.locked up to date for some deps
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index dee5f5a..2bfb764 100644
--- a/Makefile
+++ b/Makefile
@@ -6,8 +6,8 @@ help: ## Print info about all commands
@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[01;32m%-20s\033[0m %s\n", $$1, $$2}'
.PHONY: test
-test: build ## Run all tests
- cargo test
+test: build ## Run all tests (requires Cargo.lock up to date)
+ cargo test --locked
.PHONY: lint
lint: ## Run syntax/style checks
@@ -22,8 +22,8 @@ build: ## Build
cargo build
.PHONY: build-release
-build-release: ## Build for release
- cargo build --release
+build-release: ## Build for release (requires Cargo.lock up to date)
+ cargo build --release --locked
.PHONY: completions
completions: build ## generate shell completions