ghost-node/utils/chain-spec-builder/build.rs

8 lines
146 B
Rust
Raw Permalink Normal View History

use std::env;
fn main() {
if let Ok(profile) = env::var("PROFILE") {
println!("cargo:rustc-cfg=build_type=\"{}\"", profile);
}
}