Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
chore(Rakefile): paralelize closure compilation
Browse files Browse the repository at this point in the history
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
  • Loading branch information
IgorMinar committed Oct 17, 2012
1 parent a5d434d commit c959fa4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit c959fa4

Please sign in to comment.