Skip to content
Snippets Groups Projects
Commit c1deb669 authored by Bastian Köcher's avatar Bastian Köcher Committed by ddorgan
Browse files

Fixes node-template-release (#2375)

parent f3df7250
Branches
No related merge requests found
......@@ -2,7 +2,7 @@
set -e
PROJECT_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
PROJECT_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." >/dev/null && pwd )"
export CARGO_INCREMENTAL=0
......
......@@ -137,7 +137,7 @@ fn write_cargo_toml(path: &Path, cargo_toml: CargoToml) {
/// Build and test the generated node-template
fn build_and_test(path: &Path, cargo_tomls: &[PathBuf]) {
// Build wasm
assert!(Command::new(path.join("build.sh")).current_dir(path).status().expect("Compiles wasm").success());
assert!(Command::new(path.join("./scripts/build.sh")).current_dir(path).status().expect("Compiles wasm").success());
// Build node
assert!(Command::new("cargo").args(&["build", "--all"]).current_dir(path).status().expect("Compiles node").success());
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment