diff options
author | Koichi Sasada <ko1@atdot.net> | 2019-12-10 16:19:13 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2019-12-11 11:24:42 +0900 |
commit | 2c5c60754cafe9895b7a7421cd0552eaa2ae8b09 (patch) | |
tree | 9f2d074bb370d18483afa7372df3bacf71f07955 /template/prelude.c.tmpl | |
parent | 943f3e5fd463bf2a4a3a4e92b5134e238b9c931d (diff) | |
download | ruby-2c5c60754cafe9895b7a7421cd0552eaa2ae8b09.tar.gz |
use compiled binary for gem_prelude.rb.
`gem_prelude.rb` is not compiled yet. This patch compile it to
compiled binary.
Diffstat (limited to 'template/prelude.c.tmpl')
-rw-r--r-- | template/prelude.c.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/prelude.c.tmpl b/template/prelude.c.tmpl index e3cbbaab58..b582e2ddd6 100644 --- a/template/prelude.c.tmpl +++ b/template/prelude.c.tmpl @@ -38,7 +38,7 @@ class Prelude @builtin_count = 0 @preludes = {} @mains = preludes.map do |filename| - if prelude = filename.end_with?("_prelude.rb") + if prelude = filename.end_with?("golf_prelude.rb") @prelude_count += 1 else @builtin_count += 1 |