makepad-derive-live 0.4.0

Makepad platform live DSL derive macros
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::env;
fn main() {
    println!("cargo:rerun-if-env-changed=MAKEPAD");
    if let Ok(configs) = env::var("MAKEPAD"){
        for config in configs.split('+'){
            if config == "lines" {
                println!("cargo:rustc-cfg=lines")
            }
        }
    }
}