Skip to content

Commit

Permalink
BUG: update wasm build scripts (#146)
Browse files Browse the repository at this point in the history
* BUG: Duplicate line removed
* BUG: Fix bindgen script reference

---------

Co-authored-by: Matt McCormick <[email protected]>
  • Loading branch information
aylward and thewtex authored Aug 26, 2023
1 parent 678cee4 commit 414112e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ jobs:
name: "Build WebAssembly"
runs-on: ubuntu-22.04

steps:
steps:
- name: 'Free up disk space'
run: |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "npm scripts to generate itk-wasm artifacts.",
"type": "module",
"scripts": {
"build": "npm run emscripten && npm run bindgen && npm run wasi && npm run bindgen:typescript",
"build": "npm run emscripten && npm run bindgen:typescript && npm run wasi",
"emscripten": "npx itk-wasm -b emscripten-build -i itkwasm/emscripten:20230825-eb2bf097 build . -- -DTubeTK_USE_VTK:BOOL=OFF",
"bindgen:typescript": "npx itk-wasm -b emscripten-build bindgen --output-dir wasm/typescript --package-name @itk-wasm/tubetk --package-description \"TubeTK is an open-source toolkit for the segmentation, registration, and analysis of tubes and surfaces in images, developed by Kitware, Inc.\" --repository 'https://github.com/InsightSoftwareConsortium/ITKTubeTK'",
"wasi": "npx itk-wasm -b wasi-build -i itkwasm/wasi:20230825-eb2bf097 build . -- -DTubeTK_USE_VTK:BOOL=OFF",
Expand Down

0 comments on commit 414112e

Please sign in to comment.