@@ -26,7 +26,7 @@ description = "Build with tinygo"
2626run = """
2727 tinygo build -target target.json -buildmode c-shared -o dist/ewfg.wasm .
2828"""
29- sources = [' **/*.go' , ' go.mod' , ' go.sum' , ' assets/**' ]
29+ sources = [' **/*.go' , ' go.mod' , ' go.sum' , ' assets/**' , ' target.json ' ]
3030outputs = [' dist/ewfg.wasm' ]
3131
3232[tasks ."debug:build:opt" ]
@@ -67,20 +67,20 @@ depends = ['debug:build:tinygo', 'debug:build:opt']
6767
6868[tasks ."debug:wasm2wat" ]
6969description = " Build the game and output the WAT"
70- run = """
71- wasm2wat dist/ewfg.wasm --output=dist/ewfg.wat
72- wasm2wat dist/ewfg-opt.wasm --output=dist/ewfg-opt.wat
73- """
70+ run = [
71+ " wasm2wat dist/ewfg.wasm --output=dist/ewfg.wat" ,
72+ " wasm2wat dist/ewfg-opt.wasm --output=dist/ewfg-opt.wat" ,
73+ ]
7474depends = [' debug:build' ]
7575sources = [' dist/ewfg.wasm' , ' dist/ewfg-opt.wasm' ]
7676outputs = [' dist/ewfg.wat' , ' dist/ewfg-opt.wat' ]
7777
7878[tasks ."debug:wasm-decompile" ]
7979description = " Build the game and decompile into the .dcmp pseudo-language"
80- run = """
81- wasm-decompile dist/ewfg.wasm --output=dist/ewfg.dcmp
82- wasm-decompile dist/ewfg-opt.wasm --output=dist/ewfg-opt.dcmp
83- """
80+ run = [
81+ " wasm-decompile dist/ewfg.wasm --output=dist/ewfg.dcmp --enable-all " ,
82+ " wasm-decompile dist/ewfg-opt.wasm --output=dist/ewfg-opt.dcmp --enable-all " ,
83+ ]
8484depends = [' debug:build' ]
8585sources = [' dist/ewfg.wasm' , ' dist/ewfg-opt.wasm' ]
8686outputs = [' dist/ewfg.dcmp' , ' dist/ewfg-opt.dcmp' ]
0 commit comments