substrace 0.2.0

a tool for linting Substrate projects for specific gotchas and other errors
1
2
3
4
5
6
fn main() {
    // Forward the profile to the main compilation
    println!("cargo:rustc-env=PROFILE={}", std::env::var("PROFILE").unwrap());
    // Don't rebuild even if nothing changed
    println!("cargo:rerun-if-changed=build.rs");
}