mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Updated the Rakefile to use the correct init code.
This commit is contained in:
parent
5480cd3fa1
commit
839e97199c
9
Rakefile
9
Rakefile
@ -6,7 +6,14 @@ version = `cat version.txt`.gsub(/\n/, "")
|
||||
|
||||
task :default => :jquery
|
||||
|
||||
task :jquery => [:selector] do
|
||||
task :init do
|
||||
sh "if test ! -d test/qunit; then git clone git://github.com/jquery/qunit.git test/qunit; fi"
|
||||
sh "if test ! -d src/sizzle; then git clone git://github.com/jeresig/sizzle.git src/sizzle; fi"
|
||||
sh "cd src/sizzle && git pull origin master &> /dev/null"
|
||||
sh "cd test/qunit && git pull origin master &> /dev/null"
|
||||
end
|
||||
|
||||
task :jquery => [:init, :selector] do
|
||||
sh "mkdir -p dist"
|
||||
|
||||
sh "cat " + files.map {|file| "src/" + file + ".js"}.join(" ") +
|
||||
|
Loading…
Reference in New Issue
Block a user