X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=Rakefile;h=38406bdbb1c61cef820d03172516d674090fc350;hb=a32f4d7b6c197bcb521c7b0d351328f3821b6fee;hp=74acf423293c82a93d8d75781da8c0cd0f01811c;hpb=ad849eb5a46d284caf8305f8f720169d4192a3ed;p=jquery.git diff --git a/Rakefile b/Rakefile index 74acf42..38406bd 100644 --- a/Rakefile +++ b/Rakefile @@ -34,7 +34,7 @@ minfier = "java -jar #{build_dir}/google-compiler-20091218.jar" verbose(false) # Tasks -task :default => "jquery" +task :default => "all" desc "Builds jQuery; Tests with JSLint; Minifies jQuery" task :all => [:jquery, :lint, :min] do @@ -62,14 +62,14 @@ end desc "Removes dist folder, selector.js, and Sizzle/QUnit" task :clean do puts "Removing Distribution directory: #{dist_dir}..." - rm_r dist_dir, :force => true + rm_rf dist_dir puts "Removing built copy of Sizzle..." - rm_r selector, :force => true + rm_rf selector puts "Removing cloned directories..." - rm_r qunit_dir, :force => true - rm_r sizzle_dir, :force => true + rm_rf qunit_dir + rm_rf sizzle_dir end desc "Rebuilds selector.js from SizzleJS" @@ -126,7 +126,7 @@ file sizzle do end file qunit do - puts "Retrieving QUnity from Github..." + puts "Retrieving QUnit from Github..." sh "git clone git://github.com/jquery/qunit.git #{qunit_dir}" end