From 54584ee9f61a418771b5bedaacb83af470d99a7f Mon Sep 17 00:00:00 2001 From: Chevdor <chevdor@users.noreply.github.com> Date: Wed, 24 May 2023 15:23:34 +0200 Subject: [PATCH] Add staking-miner bin (#7273) * Add staking-miner bin * Fix build and doc --------- Co-authored-by: parity-processbot <> --- polkadot/utils/staking-miner/Cargo.toml | 4 ++++ polkadot/utils/staking-miner/README.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/polkadot/utils/staking-miner/Cargo.toml b/polkadot/utils/staking-miner/Cargo.toml index e34b29a285a..081b4648416 100644 --- a/polkadot/utils/staking-miner/Cargo.toml +++ b/polkadot/utils/staking-miner/Cargo.toml @@ -1,3 +1,7 @@ +[[bin]] +name = "staking-miner" +path = "src/main.rs" + [package] name = "staking-miner" version.workspace = true diff --git a/polkadot/utils/staking-miner/README.md b/polkadot/utils/staking-miner/README.md index 593e8ad8877..4148677ee7c 100644 --- a/polkadot/utils/staking-miner/README.md +++ b/polkadot/utils/staking-miner/README.md @@ -16,7 +16,7 @@ staking-miner --help You can build from the root of the Polkadot repository using: ``` -cargo build --release --locked --package staking-miner +cargo build --profile production --locked --package staking-miner --bin staking-miner ``` ## Docker -- GitLab