From: Lukas Wagner <l.wagner@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [PATCH datacenter-manager 1/2] add `make tidy` target
Date: Wed, 25 Mar 2026 14:44:31 +0100 [thread overview]
Message-ID: <20260325134432.292489-1-l.wagner@proxmox.com> (raw)
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
---
Makefile | 6 ++++++
ui/Makefile | 4 ++++
2 files changed, 10 insertions(+)
diff --git a/Makefile b/Makefile
index 940a2e7c..e1b64e4b 100644
--- a/Makefile
+++ b/Makefile
@@ -160,3 +160,9 @@ dsc-ui: $(UI_DIR)
test:
$(CARGO) test $(tests) $(CARGO_BUILD_ARGS)
+
+.PHONY: tidy
+tidy:
+ $(CARGO) fmt
+ $(MAKE) -C $(UI_DIR) tidy
+
diff --git a/ui/Makefile b/ui/Makefile
index 0bab9523..403f6d55 100644
--- a/ui/Makefile
+++ b/ui/Makefile
@@ -128,3 +128,7 @@ clean:
.PHONY: dinstall
dinstall: deb
dpkg -i $(DEB)
+
+.PHONY: tidy
+tidy:
+ $(CARGO) fmt
--
2.47.3
next reply other threads:[~2026-03-25 13:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-25 13:44 Lukas Wagner [this message]
2026-03-25 13:44 ` [PATCH datacenter-manager 2/2] add missing .PHONY for the 'test' make target Lukas Wagner
2026-03-25 16:55 ` applied: [PATCH datacenter-manager 1/2] add `make tidy` target Thomas Lamprecht
2026-03-26 8:20 ` Lukas Wagner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260325134432.292489-1-l.wagner@proxmox.com \
--to=l.wagner@proxmox.com \
--cc=pdm-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox