Skip to content

Commit

Permalink
chore: remove cf-build (#4551)
Browse files Browse the repository at this point in the history
  • Loading branch information
dandanlen authored Feb 20, 2024
1 parent cf39390 commit 596f556
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ cf-test-cfe = "test --package chainflip-engine --package multisig"
cf-clippy = "clippy --all-targets --features runtime-benchmarks,try-runtime,runtime-integration-tests,slow-tests -- -D warnings -A deprecated"
cf-clippy-ci = "clippy --all-targets --features runtime-benchmarks,try-runtime,runtime-integration-tests,slow-tests -- -D warnings -A deprecated"

cf-build = "build --features runtime-benchmarks,try-runtime"

cf-build-benchmarks = "build --release --features=runtime-benchmarks"
cf-build-try-runtime = "build --release --features try-runtime"
cf-build-release = "build --release"
cf-build-production = "build --profile=production"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ You can use either release or debug builds.
From the repo root, run the following:

```shell
cargo cf-build # or cargo cf-build-release
cargo build
./localnet/manage.sh
```

Expand Down
2 changes: 1 addition & 1 deletion state-chain/TROUBLESHOOTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Make sure to add `my-pallet/try-runtime` in the runtime's Cargo.toml, otherwise
### Compile the node with benchmark features enabled

```bash
cargo cf-build-with-benchmarks
cargo cf-build-benchmarks
```

### Generating weight files
Expand Down
2 changes: 1 addition & 1 deletion state-chain/scripts/build-and-benchmark-all.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
echo "Building the state-chain node with benchmark features enabled..."
cargo cf-build-with-benchmarks
cargo build --release --features=runtime-benchmarks

./state-chain/scripts/benchmark-all.sh

0 comments on commit 596f556

Please sign in to comment.