diff --git a/Rakefile b/Rakefile index 141b722b0..53eb20bd6 100644 --- a/Rakefile +++ b/Rakefile @@ -27,3 +27,9 @@ task :install do rm_rf "/Applications/Atomicity.app" cp_r "Cocoa/build/Debug/Atomicity.app /Applications" end + +desc "Remove any 'fit' or 'fdescribe' focus directives from the specs" +task :nof do + system %{find . -name *spec.coffee | xargs sed -E -i "" "s/f(it|describe) +(['\\"])/\\1 \\2/g"} +end +