From 81160df6d4c884479b97975191010867569f1835 Mon Sep 17 00:00:00 2001 From: Reid Hewitt Date: Wed, 24 Apr 2024 15:03:11 -0600 Subject: [PATCH] add formatter --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9a97b1e..3c5633f 100644 --- a/Makefile +++ b/Makefile @@ -9,4 +9,8 @@ lint: .PHONY: test test: - rails test \ No newline at end of file + rails test + +# recursively finds all .rb files in the current dir and formats them using stree +format: + find . -type f -name "*.rb" | xargs -L1 stree write \ No newline at end of file