Fixes node-template-release (#2375)

This commit is contained in:
Bastian Köcher
2019-04-25 13:03:30 +02:00
committed by ddorgan
parent f3df7250e9
commit c1deb66962
2 changed files with 2 additions and 2 deletions
@@ -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());