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 a4f74ef commit 2187643Copy full SHA for 2187643
tasks/check.rake
@@ -1,7 +1,9 @@
1
namespace :check do
2
wit_bindgen = RubyWasm::WitBindgen.new(build_dir: "build")
3
- task :bindgen_c do
+ task :install_wit_bindgen do
4
wit_bindgen.install
5
+ end
6
+ task :bindgen_c => :install_wit_bindgen do
7
wits = [
8
["ext/witapi/bindgen/rb-abi-guest.wit", "--export"],
9
["ext/js/bindgen/rb-js-abi-host.wit", "--import"],
@@ -12,8 +14,7 @@ namespace :check do
12
14
end
13
15
16
- task :bindgen_js do
- wit_bindgen.install
17
+ task :bindgen_js => :install_wit_bindgen do
18
sh *[
19
wit_bindgen.bin_path, "host", "js",
20
"--import", "ext/witapi/bindgen/rb-abi-guest.wit",
0 commit comments