mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-01 19:27:11 +03:00
14 lines
331 B
Rust
14 lines
331 B
Rust
use std::env;
|
|
use std::path::Path;
|
|
use std::process::Command;
|
|
|
|
fn main() {
|
|
let output = Path::new(&env::var("OUT_DIR").unwrap()).join("init_colors.rs");
|
|
|
|
assert!(Command::new("/usr/bin/python2")
|
|
.args(&["extract_colorscheme.py", output.to_str().unwrap()])
|
|
.status()
|
|
.unwrap()
|
|
.success());
|
|
}
|