Skip to content

Commit c959fa4

Browse files
committed
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
1 parent a5d434d commit c959fa4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Rakefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,10 @@ task :minify => [:init, :concat, :concat_scenario, :concat_jstd_scenario_adapter
123123
'angular-bootstrap.js',
124124
'angular-bootstrap-prettify.js'
125125
].each do |file|
126-
closure_compile(file)
126+
fork { closure_compile(file) }
127127
end
128+
129+
Process.waitall
128130
end
129131

130132

0 commit comments

Comments
 (0)