mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Add 'rake nof' task to remove focused describes and its
This commit is contained in:
6
Rakefile
6
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user