1release: 2 # Does an incremental build where possible. 3 ./compile.sh 4 mkdir -p ./debugger/bin 5 cp ../../out/debugger_wasm/debugger.js ./debugger/bin 6 cp ../../out/debugger_wasm/debugger.wasm ./debugger/bin 7 8debug: 9 # Does an incremental build where possible. 10 ./compile.sh debug 11 mkdir -p ./debugger/bin 12 cp ../../out/debugger_wasm_debug/debugger.js ./debugger/bin 13 cp ../../out/debugger_wasm_debug/debugger.wasm ./debugger/bin 14 15move-assets: 16 # assume the developer also has a checkout of buildbot here and wants to test the newly 17 # built wasm debugger with the interface. 18 cp ./debugger/bin/debugger.js ~/go/src/go.skia.org/infra/debugger-assets/res/js 19 cp ./debugger/bin/debugger.wasm ~/go/src/go.skia.org/infra/debugger-assets/res 20 21# A barebones local example of the wasm module included in a page. 22# for the real interface see 23# https://github.com/google/skia-buildbot/blob/master/debugger-assets/res/imp/wasm-app.html 24local-example: 25 rm -rf node_modules/debugger 26 mkdir -p node_modules 27 ln -s -T ../debugger node_modules/debugger 28 echo "Go check out http://localhost:8000/debugger/index.html" 29 python serve.py 30 31test-continuous: 32 echo "Assuming npm install has been run by user" 33 echo "Also assuming make debug or release has also been run by a user (if needed)" 34 npx karma start ./karma.conf.js --no-single-run --watch-poll 35