Mercurial > hg > orthanc-stone
diff Resources/CodeGeneration/testWasmIntegrated/build.sh @ 498:6d62fc8a6988 bgo-commands-codegen
Web demonstrator for codegen ongoing work
author | bgo-osimis |
---|---|
date | Sun, 24 Feb 2019 13:23:14 +0100 |
parents | 8b6ceae45ba0 |
children |
line wrap: on
line diff
--- a/Resources/CodeGeneration/testWasmIntegrated/build.sh Sun Feb 24 10:11:38 2019 +0100 +++ b/Resources/CodeGeneration/testWasmIntegrated/build.sh Sun Feb 24 13:23:14 2019 +0100 @@ -11,23 +11,7 @@ ninja -echo - cd .. -mkdir -p build-final - -# compile TS to JS -tsc --module commonjs --sourceMap -t ES2015 --outDir "build-tsc/" build-wasm/testWasmIntegratedCpp_generated.ts testWasmIntegrated.ts - -# bundle all JS files to final build dir -browserify "build-wasm/testWasmIntegratedCpp.js" "build-tsc/build-wasm/testWasmIntegratedCpp_generated.js" "build-tsc/testWasmIntegrated.js" -o "build-final/testWasmIntegratedApp.js" +./build-web.sh -# copy HTML start page to output dir -cp testWasmIntegrated.html build-final/ - -# copy WASM binary to output dir -cp build-wasm/testWasmIntegratedCpp.wasm build-final/ - - -