aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Minar2012-10-17 14:38:11 -0700
committerIgor Minar2012-10-17 20:16:36 -0700
commit4050e894467af7af47dd00dd28c0fba80f6ac82d (patch)
tree6821715d7e2aab4aa635760663adedae84037da0
parentb6620c737fe1b743d4f6fbf9c9c67bacb4db1d68 (diff)
downloadangular.js-4050e894467af7af47dd00dd28c0fba80f6ac82d.tar.bz2
chore(Rakefile): paralelize closure compilation
this speeds up the build by paralelizing closure compilation (the slowest piece of the build process) before: real 0m14.372s user 0m31.649s sys 0m1.006s after: real 0m8.191s user 0m40.473s sys 0m1.378s
-rw-r--r--Rakefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 9feca450..72509b68 100644
--- a/Rakefile
+++ b/Rakefile
@@ -123,8 +123,10 @@ task :minify => [:init, :concat, :concat_scenario, :concat_jstd_scenario_adapter
'angular-bootstrap.js',
'angular-bootstrap-prettify.js'
].each do |file|
- closure_compile(file)
+ fork { closure_compile(file) }
end
+
+ Process.waitall
end