public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH datacenter-manager 1/2] add `make tidy` target
@ 2026-03-25 13:44 Lukas Wagner
  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
  0 siblings, 2 replies; 4+ messages in thread
From: Lukas Wagner @ 2026-03-25 13:44 UTC (permalink / raw)
  To: pdm-devel

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-03-26  8:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-25 13:44 [PATCH datacenter-manager 1/2] add `make tidy` target Lukas Wagner
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal