diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-01-23 19:25:56 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-01-23 19:45:28 -0800 |
commit | e482442c5c46ab67d5db5206e8dea66d2e5c4dc9 (patch) | |
tree | 17f02d14012df1ce3719ec0f411e185beee83530 | |
parent | 929184e57d73ba29b6a97c52c22e3281a0810d2f (diff) | |
download | mogilefs-client-e482442c5c46ab67d5db5206e8dea66d2e5c4dc9.tar.gz |
Some static code analysis tools by Seattle.rb folks I'm avoiding sticking these tasks in the Rakefile since they're too slow (and I like GNU Make more than I like Ruby *g*)
-rw-r--r-- | GNUmakefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile index cf17c86..64a762d 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -17,8 +17,16 @@ $(T): @echo $(t); ruby -I lib $@ $(TEST_OPTS) > $(t_log)+ 2>&1 @mv $(t_log)+ $(t_log) +# using make instead of rake since Rakefile takes too long to load Manifest.txt: git ls-files > $@+ mv $@+ $@ +libs := $(wildcard lib/*.rb lib/*/*.rb) +flay_flags = +flog_flags = +flay: $(libs) + flay $(flay_flags) $^ +flog: $(libs) + flog $(flog_flags) $^ .PHONY: $(T) Manifest.txt |