From fbac87db11975ca6537753eecee0ab3588872c82 Mon Sep 17 00:00:00 2001 From: Yuta Saito Date: Sun, 8 Sep 2024 13:29:54 +0000 Subject: [PATCH] Fix test script and remove unnecessary build steps --- packages/npm-packages/ruby-head-wasm-wasip2/package.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/npm-packages/ruby-head-wasm-wasip2/package.json b/packages/npm-packages/ruby-head-wasm-wasip2/package.json index fb3140f686..ba37a32636 100644 --- a/packages/npm-packages/ruby-head-wasm-wasip2/package.json +++ b/packages/npm-packages/ruby-head-wasm-wasip2/package.json @@ -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",