mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-08 22:58:00 +00:00
Don't re-compile on every cargo run (#4019)
- Add new crate `substrate-build-script-utils` to unify the code of `node`, `node-template` and `polkadot-node`. - The `node-cli` build script needs to search upwards for the `.git/HEAD` file to find it.
This commit is contained in:
@@ -91,6 +91,7 @@ tempfile = "3.1.0"
|
||||
|
||||
[build-dependencies]
|
||||
substrate-cli = { package = "substrate-cli", path = "../../core/cli" }
|
||||
build-script-utils = { package = "substrate-build-script-utils", path = "../../core/utils/build-script-utils" }
|
||||
structopt = "0.3.3"
|
||||
vergen = "3.0.4"
|
||||
|
||||
@@ -118,7 +119,7 @@ cli = [
|
||||
]
|
||||
wasmtime = [
|
||||
"cli",
|
||||
"node-executor/wasmtime",
|
||||
"substrate-cli/wasmtime",
|
||||
"substrate-service/wasmtime",
|
||||
"node-executor/wasmtime",
|
||||
"substrate-cli/wasmtime",
|
||||
"substrate-service/wasmtime",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user