This repository has been archived on 2023-09-09. You can view files and clone it, but cannot push or open issues or pull requests.
nemu-old/x86/build.sh

25 lines
317 B
Bash
Executable File

#!/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 ]=====!"