Skip to content

Commit 03afa70

Browse files
authored
Merge pull request #3663 from tenderlove/speed-compile
2 parents f57e9dd + 064c712 commit 03afa70

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Rakefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ desc "Generate all ERB template based files"
1111
task templates: Prism::Template::TEMPLATES
1212

1313
make = RUBY_PLATFORM.match?(/openbsd|freebsd/) ? "gmake" : "make"
14-
task(make: :templates) { sh(make) }
14+
task(make: :templates) {
15+
ENV["MAKEFLAGS"] ||= "-j"
16+
sh(make)
17+
}
1518
task(make_no_debug: :templates) { sh("#{make} all-no-debug") }
1619
task(make_minimal: :templates) { sh("#{make} minimal") }
1720

0 commit comments

Comments
 (0)