1cb93a386Sopenharmony_cidebug: clean_examples 2cb93a386Sopenharmony_ci # Does an incremental build where possible. 3cb93a386Sopenharmony_ci ./compile.sh debug 4cb93a386Sopenharmony_ci cp ../../out/skottiekit_debug/skottiekit.js ./examples/bin 5cb93a386Sopenharmony_ci cp ../../out/skottiekit_debug/skottiekit.wasm ./examples/bin 6cb93a386Sopenharmony_ci cp ../../out/skottiekit_debug/skottiekit.wasm.map ./examples/bin 7cb93a386Sopenharmony_ci 8cb93a386Sopenharmony_cidebug_cpu: clean_examples 9cb93a386Sopenharmony_ci # Does an incremental build where possible. 10cb93a386Sopenharmony_ci ./compile.sh debug cpu 11cb93a386Sopenharmony_ci cp ../../out/skottiekit_debug/skottiekit.js ./examples/bin 12cb93a386Sopenharmony_ci cp ../../out/skottiekit_debug/skottiekit.wasm ./examples/bin 13cb93a386Sopenharmony_ci cp ../../out/skottiekit_debug/skottiekit.wasm.map ./examples/bin 14cb93a386Sopenharmony_ci 15cb93a386Sopenharmony_cirelease: clean_examples 16cb93a386Sopenharmony_ci # Does an incremental build where possible. 17cb93a386Sopenharmony_ci ./compile.sh 18cb93a386Sopenharmony_ci cp ../../out/skottiekit/skottiekit.js ./examples/bin 19cb93a386Sopenharmony_ci cp ../../out/skottiekit/skottiekit.wasm ./examples/bin 20cb93a386Sopenharmony_ci 21cb93a386Sopenharmony_cirelease_cpu: clean_examples 22cb93a386Sopenharmony_ci # Does an incremental build where possible. 23cb93a386Sopenharmony_ci ./compile.sh cpu 24cb93a386Sopenharmony_ci cp ../../out/skottiekit/skottiekit.js ./examples/bin 25cb93a386Sopenharmony_ci cp ../../out/skottiekit/skottiekit.wasm ./examples/bin 26cb93a386Sopenharmony_ci 27cb93a386Sopenharmony_cirelease_full: clean_examples 28cb93a386Sopenharmony_ci # Does an incremental build where possible. 29cb93a386Sopenharmony_ci ./compile.sh full-build 30cb93a386Sopenharmony_ci cp ../../out/skottiekit/skottiekit.js ./examples/bin 31cb93a386Sopenharmony_ci cp ../../out/skottiekit/skottiekit.wasm ./examples/bin 32cb93a386Sopenharmony_ci 33cb93a386Sopenharmony_cinpm: clean_npm 34cb93a386Sopenharmony_ci ./compile.sh full-build 35cb93a386Sopenharmony_ci cp ../../out/skottiekit/skottiekit.js ./skottiekit/bin 36cb93a386Sopenharmony_ci cp ../../out/skottiekit/skottiekit.wasm ./skottiekit/bin 37cb93a386Sopenharmony_ci 38cb93a386Sopenharmony_ciclean_examples: 39cb93a386Sopenharmony_ci rm -f ./examples/bin/* 40cb93a386Sopenharmony_ci mkdir -p ./examples/bin 41cb93a386Sopenharmony_ci 42cb93a386Sopenharmony_ciclean_npm: 43cb93a386Sopenharmony_ci rm -f ./skottiekit/bin/* 44cb93a386Sopenharmony_ci mkdir -p ./skottiekit/bin 45cb93a386Sopenharmony_ci 46cb93a386Sopenharmony_ciserve: 47cb93a386Sopenharmony_ci echo "Go check out http://localhost:8001/" 48cb93a386Sopenharmony_ci cd examples && python3 python3 ../../../tools/serve_wasm.py 49