Unverified Commit cac6e6ee authored by Michal Srb's avatar Michal Srb Committed by GitHub

Fix utils build script

parent 583123d3
......@@ -5,7 +5,7 @@ use std::io::{BufRead, BufReader, BufWriter, Write};
use std::path::{Path, PathBuf};
fn main() -> Result<(), Box<dyn Error>> {
println!("cargo:rerun-if-changed=colors.csv");
println!("cargo:rerun-if-changed=colors.txt");
let path = Path::new(&env::var("OUT_DIR").unwrap()).join("colors.rs");
let mut file = BufWriter::new(File::create(&path).unwrap());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment