tauri/lib/rust/build.rs
Lucas Fernandes Nogueira a0f410dcff
feat(tauri) initial work for the CLI (#20)
* feat(tauri) initial work for the CLI

* feat(build) read dist path from env

* feat(tauri) proton.js entry

* feat(tauri) threeshake fs

* feat(injector) check if tauri dir exists

* feat(injector) don't show success message if dir exists

* chore(injector) cleanup fs imports
2019-08-19 18:09:29 -03:00

13 lines
269 B
Rust
Executable File

extern crate includedir_codegen;
use includedir_codegen::Compression;
use std::env;
fn main() {
let dist_path = env::var("TAURI_DIST_DIR").unwrap();
includedir_codegen::start("ASSETS")
.dir(dist_path, Compression::None)
.build("data.rs")
.unwrap();
}