We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e18cf7 commit 5f448deCopy full SHA for 5f448de
lib/ruby_wasm/rake_task.rb
@@ -58,13 +58,14 @@ def initialize(
58
@source,
59
@toolchain
60
)
61
+ yield self if block_given?
62
+
63
+ @products_to_define.each(&:define_task)
64
65
@crossruby.with_libyaml @libyaml
66
@crossruby.with_zlib @zlib
67
- yield self if block_given?
-
- add_product @crossruby
- define
68
+ @crossruby.define_task
69
end
70
71
private
@@ -78,7 +79,4 @@ def add_product(product)
78
79
product
80
81
- def define
82
- @products_to_define.each(&:define_task)
83
- end
84
0 commit comments