diff options
| author | Igor Minar | 2012-10-17 14:38:11 -0700 |
|---|---|---|
| committer | Igor Minar | 2012-10-17 14:38:15 -0700 |
| commit | c959fa4fe80d251ed5fc326943416c8ab369bd0b (patch) | |
| tree | 60ff7f87d8b122957239a395180eba1ffff18a19 | |
| parent | a5d434d857f9059fe277e348fe9876d62ca38a18 (diff) | |
| download | angular.js-c959fa4fe80d251ed5fc326943416c8ab369bd0b.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-- | Rakefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |
