mirror of
https://github.com/Nutomic/ibis.git
synced 2024-11-22 23:41:09 +00:00
create wasm files
This commit is contained in:
parent
235dcf06aa
commit
4fe777dd3c
3 changed files with 12 additions and 1 deletions
1
assets/dist/ibis.js
vendored
1
assets/dist/ibis.js
vendored
File diff suppressed because one or more lines are too long
BIN
assets/dist/ibis_bg.wasm
vendored
BIN
assets/dist/ibis_bg.wasm
vendored
Binary file not shown.
12
build.rs
Normal file
12
build.rs
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
use std::fs::create_dir_all;
|
||||||
|
use std::fs::File;
|
||||||
|
use std::io::Result;
|
||||||
|
|
||||||
|
/// Create placeholders for wasm files so that `cargo check` etc work without explicitly building
|
||||||
|
/// frontend.
|
||||||
|
fn main() -> Result<()> {
|
||||||
|
create_dir_all("assets/dist/")?;
|
||||||
|
File::create("assets/dist/ibis.js")?;
|
||||||
|
File::create("assets/dist/ibis_bg.wasm")?;
|
||||||
|
Ok(())
|
||||||
|
}
|
Loading…
Reference in a new issue