#!/bin/bash nemu_build() { echo " --> Building NerdEMU" wasm-pack build --target web } nemu_run(){ echo " --> Starting HTTP server" python3 -m http.server } echo "!=====[ NerdEMU build script ]=====!" nemu_build case $1 in "test") nemu_run ;; esac echo "!=====[ Finished ]=====!"