Skip to content

Commit

Permalink
Fix test script and remove unnecessary build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Sep 8, 2024
1 parent cccd900 commit fbac87d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/npm-packages/ruby-head-wasm-wasip2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,12 @@
"README.md"
],
"scripts": {
"test": "RUBY_NPM_PACKAGE_ROOT=../ruby-head-wasm-wasi ENABLE_COMPONENT_TESTS=1 npm -C ../ruby-wasm-wasi run test:run",
"test": "RUBY_NPM_PACKAGE_ROOT=../ruby-head-wasm-wasip2 ENABLE_COMPONENT_TESTS=1 npm -C ../ruby-wasm-wasi run test:run",
"build:deps": "cd ../ruby-wasm-wasi && npm run build",
"build:static:files": "../ruby-wasm-wasi/tools/pack-static-files.sh ./dist",
"build:static:compat": "../ruby-wasm-wasi/tools/pack-compat-shim.mjs --dist=./dist --pkg=ruby-head-wasm-wasi",
"build:static": "npm run build:static:files && npm run build:static:compat",
"build:static": "npm run build:static:files",
"build:rollup": "rollup -c rollup.config.mjs",
"build": "npm run build:deps && npm run build:static && npm run build:rollup && ../ruby-wasm-wasi/tools/post-build.sh ./dist"
"build": "npm run build:deps && npm run build:static && npm run build:rollup"
},
"repository": "https://github.com/ruby/ruby.wasm",
"homepage": "https://github.com/ruby/ruby.wasm/tree/main/packages/npm-packages/ruby-head-wasm-wasi",
Expand Down

0 comments on commit fbac87d

Please sign in to comment.