mirror of
https://github.com/RGBCube/rgbcube.github.io
synced 2025-05-31 13:18:13 +00:00
13 lines
329 B
Rust
13 lines
329 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");
|
|
}
|