Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit c527778

Browse files
committed
Updated build.rs
1 parent 153f156 commit c527778

File tree

3 files changed

+3
-15
lines changed

3 files changed

+3
-15
lines changed

Cargo.lock

Lines changed: 0 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/node/cli/Cargo.toml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ nix = "0.17"
112112
serde_json = "1.0"
113113

114114
[build-dependencies]
115-
build-script-utils = { version = "2.0.0-alpha.2", package = "substrate-build-script-utils", path = "../../../utils/build-script-utils" }
116115
structopt = { version = "0.3.8", optional = true }
117116
node-transaction-factory = { version = "0.8.0-alpha.2", optional = true, path = "../transaction-factory" }
118117
node-inspect = { version = "0.8.0-alpha.2", optional = true, path = "../inspect" }
@@ -124,10 +123,6 @@ package = "sc-cli"
124123
path = "../../../client/cli"
125124
optional = true
126125

127-
[build-dependencies.vergen]
128-
version = "3.0.4"
129-
optional = true
130-
131126
[features]
132127
default = ["cli", "wasmtime"]
133128
browser = [
@@ -143,7 +138,6 @@ cli = [
143138
"frame-benchmarking-cli",
144139
"sc-service/rocksdb",
145140
"structopt",
146-
"vergen",
147141
]
148142
wasmtime = [
149143
"cli",

bin/node/cli/build.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,13 @@ mod cli {
2424
include!("src/cli.rs");
2525

2626
use std::{fs, env, path::Path};
27-
use sc_cli::{structopt::clap::Shell};
28-
use vergen::{ConstantsFlags, generate_cargo_keys};
27+
use sc_cli::{structopt::clap::Shell, generate_cargo_keys, rerun_if_git_head_changed};
2928

3029
pub fn main() {
3130
build_shell_completion();
32-
generate_cargo_keys(ConstantsFlags::all()).expect("Failed to generate metadata files");
31+
generate_cargo_keys();
3332

34-
build_script_utils::rerun_if_git_head_changed();
33+
rerun_if_git_head_changed();
3534
}
3635

3736
/// Build shell completion scripts for all known shells

0 commit comments

Comments
 (0)