diff options
author | Bryan Helmkamp <bryan@brynary.com> | 2009-05-17 14:59:06 -0400 |
---|---|---|
committer | Bryan Helmkamp <bryan@brynary.com> | 2009-05-17 14:59:06 -0400 |
commit | 2753d8f5768ce0b5f91a96cf81c6ba1d747aeea9 (patch) | |
tree | 422a5e40fc2816c31aceea87fdc2734b1aa4bc85 /Rakefile | |
parent | 4e3c9a01307339916f6b947d24f19b0f442afd78 (diff) | |
download | rails-2753d8f5768ce0b5f91a96cf81c6ba1d747aeea9.tar.gz rails-2753d8f5768ce0b5f91a96cf81c6ba1d747aeea9.tar.bz2 rails-2753d8f5768ce0b5f91a96cf81c6ba1d747aeea9.zip |
Add rake whitespace
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -28,4 +28,9 @@ desc "Run specs with mysql and sqlite3 database adapters (default)" task :spec => ["spec:sqlite3", "spec:mysql"] desc "Default task is to run specs" -task :default => :spec
\ No newline at end of file +task :default => :spec + +desc 'Removes trailing whitespace' +task :whitespace do + sh %{find . -name '*.rb' -exec sed -i '' 's/ *$//g' {} \\;} +end |