0g-storage-node/common/contract-interface/build.rs
Chenxing Li 193e154361
Change miner id logic & request miner id automatically (#60)
* Change miner id logic & request miner id automatically

* Not enable all features in the test workflow.

* Auto configurable mining period

* Adjust test params for ci
2024-04-27 11:15:57 +08:00

8 lines
237 B
Rust

fn main() {
if cfg!(not(feature = "dev")) {
println!("cargo:rerun-if-changed=../../0g-storage-contracts/artifacts/");
} else {
println!("cargo:rerun-if-changed=../../0g-storage-contracts-dev/artifacts/");
}
}