MrBoec/utils/chain-spec-builder/build.rs

8 lines
146 B
Rust
Raw Normal View History

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