diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2022-10-28 13:45:10 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2022-10-28 13:45:10 -0700 |
commit | 06c0f3345ba835f64f803b6b8aa6cf10b63819b6 (patch) | |
tree | d7b94662d45598c2746d0c40b673eba1694a5ef8 /Makefile | |
parent | ea1c10f9db0ca5ecc1741c7561cb5dba8f779a8d (diff) | |
download | adenosine-06c0f3345ba835f64f803b6b8aa6cf10b63819b6.tar.gz adenosine-06c0f3345ba835f64f803b6b8aa6cf10b63819b6.zip |
Makefile: require Cargo.locked up to date for some deps
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |