Slight optmization on the Rakefile

This commit is contained in:
Douglas Neiner 2010-06-14 15:03:13 -04:00 committed by wycats
parent e61d7d12e2
commit cecd1d8735

View file

@ -62,14 +62,14 @@ end
desc "Removes dist folder, selector.js, and Sizzle/QUnit" desc "Removes dist folder, selector.js, and Sizzle/QUnit"
task :clean do task :clean do
puts "Removing Distribution directory: #{dist_dir}..." puts "Removing Distribution directory: #{dist_dir}..."
rm_r dist_dir, :force => true rm_rf dist_dir
puts "Removing built copy of Sizzle..." puts "Removing built copy of Sizzle..."
rm_r selector, :force => true rm_rf selector
puts "Removing cloned directories..." puts "Removing cloned directories..."
rm_r qunit_dir, :force => true rm_rf qunit_dir
rm_r sizzle_dir, :force => true rm_rf sizzle_dir
end end
desc "Rebuilds selector.js from SizzleJS" desc "Rebuilds selector.js from SizzleJS"