Always rebuild dist files

This commit is contained in:
kpdecker
2013-02-17 04:34:04 -06:00
parent c95b3d6fc5
commit ac59d6d060
+8 -2
View File
@@ -81,8 +81,14 @@ file "dist/handlebars.runtime.js" => runtime_deps do |task|
build_for_task(task)
end
task :build => [:compile, "dist/handlebars.js"]
task :runtime => [:compile, "dist/handlebars.runtime.js"]
task :build => [:compile] do |task|
# Since the tests are dependent on this always rebuild.
Rake::Task["dist/handlebars.js"].execute
end
task :runtime => [:compile] do |task|
# Since the tests are dependent on this always rebuild.
Rake::Task["dist/handlebars.runtime.js"].execute
end
desc "build the build and runtime version of handlebars"
task :release => [:build, :runtime]