Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 16 lines (11 sloc) 0.469 kb
feed8f4 First checkin - public release begins
David Jones authored
1 # Add your own tasks in files placed in lib/tasks ending in .rake,
2 # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
4 require(File.join(File.dirname(__FILE__), 'config', 'boot'))
5
6 require 'rake'
7 require 'rake/testtask'
8 require 'rake/rdoctask'
9
76088b1 Andrew Vit Added rake task to convert tabs and strip whitespace
avit authored
10 require 'tasks/rails'
11
12 desc 'Removes trailing whitespace'
13 task :whitespace do
14 sh %{find . -name '*.*rb' -exec sed -i '' 's/\t/ /g' {} \\; -exec sed -i '' 's/ *$//g' {} \\; }
15 end
Something went wrong with that request. Please try again.