File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -510,8 +510,6 @@ fn run_build() -> io::Result<()> {
510510 cargo build --manifest-path=$BUILDER_PATH /Cargo . toml;
511511 info "cargo build" ;
512512 cargo build;
513- info "cargo test export_bindings" ;
514- cargo test export_bindings;
515513 ) ?;
516514 // Clean out all bundled files before the rebuild.
517515 remove_dir_all_if_exists ( format ! ( "{CLIENT_PATH}/static/bundled" ) ) ?;
@@ -528,7 +526,7 @@ fn run_client_build(
528526 // checks.
529527 skip_check_errors : bool ,
530528) -> io:: Result < ( ) > {
531- // Ensure the JavaScript data structured generated from Rust are up to date.
529+ // Ensure the JavaScript data structures generated from Rust are up to date.
532530 run_cmd ! (
533531 info "cargo test export_bindings" ;
534532 cargo test export_bindings;
@@ -632,6 +630,12 @@ fn run_extensions_build(
632630 }
633631 run_script ( "npx" , & napi_args, VSCODE_PATH , true ) ?;
634632
633+ // Ensure the JavaScript data structures generated from Rust are up to date.
634+ run_cmd ! (
635+ info "cargo test export_bindings" ;
636+ cargo test export_bindings;
637+ ) ?;
638+
635639 // The main build for the extension.
636640 run_script (
637641 & esbuild,
You can’t perform that action at this time.
0 commit comments