This repository has been archived on 2024-05-26. You can view files and clone it, but cannot push or open issues or pull requests.
trixy/example/main/build.rs

12 lines
332 B
Rust
Raw Normal View History

use trixy::macros::config::TrixyConfig;
fn main() {
println!("cargo:rerun-if-changed=./dist/*");
println!("cargo:rerun-if-changed=./src/bin/main/api.tri");
TrixyConfig::new("handle_cmd")
.trixy_path("./src/bin/main/api.tri")
.dist_dir_path("./dist")
.generate_debug(true)
.generate();
}