Skip to content

Commit 4231cce

Browse files
authored
Add cargo install to build.js (#150)
1 parent a85284c commit 4231cce

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ rand_chacha = "0.3"
2020
recrypt = { version = "0.14", features = ["wasm"], default-features = false }
2121
serde = "1"
2222
serde_derive = "1"
23+
# Must be kept in-sync with build.js and GitHub workflows
2324
wasm-bindgen = { version = "=0.2.104" }
2425

2526
[profile.dev]

build.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ shell.exec("yarn");
3333
shell.exec("cargo clean");
3434
shell.exec("cargo update");
3535
shell.exec("cargo install wasm-pack");
36+
shell.exec("cargo install [email protected]"); // version must be kept in-sync with Cargo.toml
3637
shell.exec("yarn run compile");
3738
shell.exec("yarn test");
3839
shell.exec("PATH=~/.cargo/bin:$PATH yarn run pack");

0 commit comments

Comments
 (0)