wasm-startup 0.1.6

A simple WASM startup project
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::process::Command;

use crate::Commands;

impl Commands {
    pub fn build() {
        Command::new("wasm-pack")
            .arg("build")
            .arg("-t")
            .arg("web")
            .spawn()
            .expect("failed to run wasm-pack")
            .wait()
            .expect("failed to wait for wasm-pack");
    }
}