mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-07-07 15:55:00 +00:00

* Update to rust 2024 edition * Fixes * Clean up imports * Cargo fmt again --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
9 lines
245 B
Rust
9 lines
245 B
Rust
use std::fs;
|
|
use std::path::PathBuf;
|
|
|
|
fn main() {
|
|
// Directory required for compilation, but not tracked by git if empty.
|
|
let dist_dir: PathBuf = ["..", "dist"].iter().collect();
|
|
fs::create_dir_all(dist_dir).unwrap();
|
|
tauri_build::build()
|
|
}
|