Skip to content

Commit c12ed35

Browse files
committed
Fix and bump Rubocop
1 parent c420225 commit c12ed35

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ext/libv8-node/extconf.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# frozen_string_literal: true
22

33
require 'mkmf'
4+
5+
if RUBY_ENGINE == 'truffleruby'
6+
File.write('Makefile', dummy_makefile($srcdir).join('')) # rubocop:disable Style/GlobalVars
7+
return
8+
end
9+
410
create_makefile('libv8-node')
511

612
require File.expand_path('location', __dir__)

0 commit comments

Comments
 (0)