Update polkadot & substrate (#76)

This commit is contained in:
Cecile Tonglet
2020-04-15 12:25:41 +02:00
committed by GitHub
parent d4562c3a48
commit 028270529c
14 changed files with 751 additions and 603 deletions
+3 -4
View File
@@ -16,12 +16,11 @@
use std::{env, path::PathBuf};
use vergen::{generate_cargo_keys, ConstantsFlags};
const ERROR_MSG: &str = "Failed to generate metadata files";
use substrate_build_script_utils::{generate_cargo_keys, rerun_if_git_head_changed};
fn main() {
generate_cargo_keys(ConstantsFlags::SHA_SHORT).expect(ERROR_MSG);
generate_cargo_keys();
rerun_if_git_head_changed();
let mut manifest_dir = PathBuf::from(
env::var("CARGO_MANIFEST_DIR").expect("`CARGO_MANIFEST_DIR` is always set by cargo."),