From 937d985489802ec578cd55c74076c4b0289b6e00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Wed, 19 Jun 2024 16:00:04 +0200 Subject: [PATCH] build: adapt workspace member command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit to work with cargo 1.77 Originally-by: Wolfgang Bumiller Signed-off-by: Fabian Grünbichler --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6edca102..edd44094 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ # Shortcut for common operations: -CRATES != /usr/bin/cargo metadata --no-deps --format-version=1 | jq -r .workspace_members'[]' | awk '{ print $$1 }' +# see proxmox-backup if we ever want to support other prefixes +CRATES != echo proxmox-*/Cargo.toml | sed -e 's|/Cargo.toml||g' # By default we just run checks: .PHONY: all