Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Always rebuild dist files

  • Loading branch information...
commit ac59d6d0600c8a9eff8e94bb99f57f6a424db9f0 1 parent c95b3d6
@kpdecker kpdecker authored
Showing with 8 additions and 2 deletions.
  1. +8 −2 Rakefile
View
10 Rakefile
@@ -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]
Please sign in to comment.
Something went wrong with that request. Please try again.