[tasks.build] command = "cargo" args = ["build"] [tasks.wasm] install_crate = "wasm-pack" command = "wasm-pack" args = ["build"] [tasks.server] script=[ ''' cd ./www npm run start ''' ] [tasks.init_www] script=[ ''' npm init wasm-app www cd ./pkg npm link cd .. cd ./www npm link ${CARGO_MAKE_CRATE_NAME} ''' ] dependencies = ["wasm"] [tasks.init_server] dependencies = ["init_www","server"]