diff --git a/workspaces/Cargo.toml b/workspaces/Cargo.toml index f6ba5510..9ae5a78f 100644 --- a/workspaces/Cargo.toml +++ b/workspaces/Cargo.toml @@ -32,6 +32,9 @@ near-jsonrpc-primitives = "0.5" near-jsonrpc-client = { version = "0.1", features = ["sandbox"] } near-sandbox-utils = "0.1" +[build-dependencies] +near-sandbox-utils = "0.1" + [target.'cfg(unix)'.dependencies] libc = "0.2" diff --git a/workspaces/build.rs b/workspaces/build.rs new file mode 100644 index 00000000..9ae0eb36 --- /dev/null +++ b/workspaces/build.rs @@ -0,0 +1,3 @@ +fn main() { + near_sandbox_utils::install().expect("Could not install sandbox"); +}