From b02dbd404f3d4f65ba5a853e8b1318ee03cf786c Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Wed, 25 Dec 2019 17:41:28 +0800 Subject: [PATCH] try: substrate-cli --- Cargo.lock | 2 +- node/cli/Cargo.toml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b8c272163..ef4cf05ee 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2873,7 +2873,6 @@ dependencies = [ "console_log 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "ctrlc 3.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "darwinia-balances 0.2.0", - "darwinia-cli 0.1.0", "exit-future 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", "futures-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2905,6 +2904,7 @@ dependencies = [ "substrate-basic-authorship 2.0.0 (git+https://github.com/darwinia-network/substrate.git?branch=darwinia-develop)", "substrate-build-script-utils 2.0.0 (git+https://github.com/darwinia-network/substrate.git?branch=darwinia-develop)", "substrate-chain-spec 2.0.0 (git+https://github.com/darwinia-network/substrate.git?branch=darwinia-develop)", + "substrate-cli 2.0.0 (git+https://github.com/darwinia-network/substrate.git?branch=darwinia-develop)", "substrate-client 2.0.0 (git+https://github.com/darwinia-network/substrate.git?branch=darwinia-develop)", "substrate-client-db 2.0.0 (git+https://github.com/darwinia-network/substrate.git?branch=darwinia-develop)", "substrate-consensus-babe 2.0.0 (git+https://github.com/darwinia-network/substrate.git?branch=darwinia-develop)", diff --git a/node/cli/Cargo.toml b/node/cli/Cargo.toml index b7ff628d0..4e0b9fa22 100644 --- a/node/cli/Cargo.toml +++ b/node/cli/Cargo.toml @@ -74,7 +74,8 @@ tokio = { version = "0.1.22", optional = true } transaction-factory = { git = "https://github.com/darwinia-network/substrate.git", branch = "darwinia-develop", optional = true } -darwinia-cli = { path = "../../core/cli" } +#darwinia-cli = { path = "../../core/cli" } +darwinia-cli = { package = "substrate-cli", git = "https://github.com/darwinia-network/substrate.git", branch = "darwinia-develop" } # WASM-specific dependencies clear_on_drop = { version = "0.2.3", features = ["no_cc"], optional = true } # Imported just for the `no_cc` feature @@ -103,7 +104,8 @@ vergen = "3.0.4" build-script-utils = { package = "substrate-build-script-utils", git = "https://github.com/darwinia-network/substrate.git", branch = "darwinia-develop" } -darwinia-cli = { path = "../../core/cli", optional = true } +#darwinia-cli = { path = "../../core/cli", optional = true } +darwinia-cli = { package = "substrate-cli", git = "https://github.com/darwinia-network/substrate.git", branch = "darwinia-develop", optional = true } [features] default = ["cli"]