remove a task that doesnt seem to work
This commit is contained in:
parent
3c7ebe3200
commit
5ecb3e8a50
1 changed files with 0 additions and 20 deletions
|
|
@ -1,20 +0,0 @@
|
|||
namespace :whitespace do
|
||||
desc 'Removes trailing whitespace'
|
||||
task :cleanup do
|
||||
sh %{for f in `find . -type f | grep -v -e '.git/' -e 'public/' -e '.png'`;
|
||||
do sed -i 's/[ \t]*$//' $f; echo -n .;
|
||||
done}
|
||||
end
|
||||
desc 'Converts hard-tabs into two-space soft-tabs'
|
||||
task :retab do
|
||||
sh %{for f in `find . -type f | grep -v -e '.git/' -e 'public/' -e '.png'`;
|
||||
do sed -i 's/\t/ /g' $f; echo -n .;
|
||||
done}
|
||||
end
|
||||
desc 'Remove consecutive blank lines'
|
||||
task :scrub_gratuitous_newlines do
|
||||
sh %{for f in `find . -type f | grep -v -e '.git/' -e 'public/' -e '.png'`;
|
||||
do sed -i '/./,/^$/!d' $f; echo -n .;
|
||||
done}
|
||||
end
|
||||
end
|
||||
Loading…
Reference in a new issue