Fix node-template-release and make cargo doc faster (#3019)

This commit is contained in:
Bastian Köcher
2019-07-04 16:26:03 +02:00
committed by GitHub
parent fb8bb00158
commit ae80c05232
2 changed files with 1 additions and 4 deletions
@@ -136,9 +136,6 @@ 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("./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());