mirror of
https://github.com/RGBCube/rgbcube.github.io
synced 2025-05-31 21:28:14 +00:00
13 lines
336 B
Rust
13 lines
336 B
Rust
use std::process::Command;
|
|
|
|
fn main() {
|
|
Command::new("tar")
|
|
.args(&["cf", "assets.tar", "assets"])
|
|
.output()
|
|
.expect("Failed to package assets");
|
|
|
|
println!("cargo:rerun-if-changed=assets");
|
|
println!("cargo:rerun-if-changed=build.rs");
|
|
|
|
println!("cargo:rustc-env=ASSETS_PATH={}", "assets.tar");
|
|
}
|