Unverified Commit 8f4fed27 authored by Florian Blasius's avatar Florian Blasius 🤘 Committed by GitHub

Merge pull request #409 from xixixao/xixixao-patch-1

Fix utils build script
parents 583123d3 cac6e6ee
......@@ -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