summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorEli Flanagan <eli@typedspace.com>2021-03-10 18:48:44 -0500
committerEli Flanagan <eli@typedspace.com>2021-03-10 18:56:22 -0500
commit17f87e4cdf35307683734f2a2be557a58be94b08 (patch)
tree6a256473e6f009cbf551a63baf8b92fd27bbc5a2 /Makefile
parent9f3f54439ea228d9ccf9f63f6281850f7264b476 (diff)
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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.