Permalink
Browse files

testing the build

  • Loading branch information...
1 parent 38fdd2b commit e9d926dfa339f1937f920abd678b0579700aaa18 @heygrady committed Oct 7, 2010
Showing with 1,792 additions and 3 deletions.
  1. +9 −3 Rakefile
  2. +1,772 −0 dist/jquery.transform-0.9.0pre.js
  3. +11 −0 dist/jquery.transform-0.9.0pre.min.js
View
@@ -18,6 +18,7 @@ version = File.read( File.join( prefix, 'version.txt' ) ).strip
# jQuery files/dirs
jq = File.join( dist_dir, "jquery.transform-#{version}.js" )
jq_min = File.join( dist_dir, "jquery.transform-#{version}.min.js" )
+jq_test = File.join( dist_dir, "jquery.transform.js" )
# Build tools
@@ -31,12 +32,12 @@ verbose(false)
task :default => "all"
desc "Builds jQuery; Tests with JSLint; Minifies jQuery"
-task :all => [:jquery, :lint, :min] do
+task :all => [:dist, :jquery, :lint, :min] do
puts "jQuery build complete."
end
desc "Builds jQuery Transform: jquery.transform.js (Default task)"
-task :jquery => [jq]
+task :jquery => [jq, jq_test]
desc "Builds a minified version of jQuery Transform: jquery.transform.min.js"
task :min => jq_min
@@ -46,7 +47,7 @@ task :init => [] do
end
desc "Removes dist folder"
-task :clean do
+task :dist do
puts "Removing Distribution directory: #{dist_dir}..."
rm_rf dist_dir
end
@@ -74,6 +75,11 @@ file jq_min => jq do
sh "#{minfier} -o \"#{jq_min}\" \"#{jq}\""
end
+file jq_test => jq do
+ puts "Building a test version of Transform 3d..."
+ cp jq, jq_test
+end
+
def cat( files )
files.map do |file|
File.read(file)
Oops, something went wrong.

0 comments on commit e9d926d

Please sign in to comment.