mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-18 15:50:22 +00:00
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
This commit is contained in:
parent
a5d434d857
commit
c959fa4fe8
1 changed files with 3 additions and 1 deletions
4
Rakefile
4
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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue