Skip to content

Commit 30eb98d

Browse files
Re-generate TypeScript bindings in rake check:bindgen task
1 parent 73e0c42 commit 30eb98d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

rakelib/check.rake

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,12 @@ namespace :check do
4141
)
4242
end
4343

44+
task bindgen_ts: :install_wit_bindgen do
45+
sh "node", "packages/npm-packages/ruby-wasm-wasi/tools/component-ts-bindgen.mjs"
46+
end
47+
4448
desc "Check wit-bindgen'ed sources are up-to-date"
45-
task bindgen: %i[bindgen_c legacy_bindgen_c legacy_bindgen_js]
49+
task bindgen: %i[bindgen_c bindgen_ts legacy_bindgen_c legacy_bindgen_js]
4650

4751
task :type do
4852
sh "bundle exec steep check"

0 commit comments

Comments
 (0)