From 17f87e4cdf35307683734f2a2be557a58be94b08 Mon Sep 17 00:00:00 2001 From: Eli Flanagan Date: Wed, 10 Mar 2021 18:48:44 -0500 Subject: ci: prefer --workspace flag Close #660 The changelog documenting cargo's --workspace arrival is [here](https://github.com/rust-lang/cargo/blob/61a31bc5ff290322d5c025bf750c56501999235d/CHANGELOG.md#added-13). Note `cargo fmt` still expects `--all` because the subcommand semantics differ. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 69bc1629..ac263385 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ CARGO_TARGET_DIR ?= $(shell pwd)/target # We currently only support absolute paths. CARGO_TARGET_DIR := $(abspath $(CARGO_TARGET_DIR)) # The packages to build, test and document, e.g., "-p sequoia-openpgp" -CARGO_PACKAGES ?= --all +CARGO_PACKAGES ?= --workspace # Additional arguments to pass to cargo test, e.g., "--doc". CARGO_TEST_ARGS ?= # Version as stated in the top-level Cargo.toml. -- cgit v1.2.3