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