Skip to content
Snippets Groups Projects
Commit 24479cd7 authored by Gav Wood's avatar Gav Wood Committed by GitHub
Browse files

Substrate is the one (#759)

parent f10d8e17
No related merge requests found
[[bin]]
name = "substrate"
path = "node/src/main.rs"
[package]
name = "substrate"
version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]
build = "build.rs"
[dependencies]
error-chain = "0.12"
node-cli = { path = "node/cli" }
futures = "0.1"
ctrlc = { version = "3.0", features = ["termination"] }
[build-dependencies]
vergen = "0.1"
[workspace]
members = [
"core/bft",
......@@ -38,7 +59,6 @@ members = [
"core/test-runtime",
"core/telemetry",
"core/keystore",
"node",
"node/cli",
"node/api",
"node/consensus",
......
[[bin]]
name = "substrate"
path = "src/main.rs"
[package]
name = "substrate"
version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]
build = "build.rs"
[dependencies]
error-chain = "0.12"
node-cli = { path = "cli" }
futures = "0.1"
ctrlc = { version = "3.0", features = ["termination"] }
[build-dependencies]
vergen = "0.1"
// Copyright 2015-2018 Parity Technologies (UK) Ltd.
// This file is part of Substrate.
// Substrate is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// Substrate is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.
extern crate vergen;
const ERROR_MSG: &'static str = "Failed to generate metadata files";
fn main() {
vergen::vergen(vergen::SHORT_SHA).expect(ERROR_MSG);
println!("cargo:rerun-if-changed=../../.git/HEAD");
}
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