summaryrefslogtreecommitdiffstats
path: root/build.rs
blob: 7403a3f335df65125ef9cce7b4032eb95577ab1c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
use std::{env::current_dir, fs, process::Command};

fn main() {
  if !fs::exists(".cursors.min").unwrap() {
    Command::new("/bin/bash")
      .arg("./contrib/gen-meta.sh")
      .current_dir(current_dir().unwrap().to_str().unwrap())
      .output()
      .expect("Failed to execute command");
  }
}