diff --git a/polkadot/utils/staking-miner/Cargo.toml b/polkadot/utils/staking-miner/Cargo.toml index e34b29a285a3192e2a90c32620c063dd7b3feb63..081b4648416f316d3fc0bb819b1e5f344bcb46de 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 593e8ad8877db28e3753e54d19e8f0f0877282ef..4148677ee7cacb2fcda1a0fb835fef5837550443 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