From 14168989101db515002ebfd162f421b38b1d6c93 Mon Sep 17 00:00:00 2001 From: tom Date: Tue, 19 Sep 2023 10:26:58 -0500 Subject: [PATCH] fix to copy arm binary to build --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1cb2ebb8..a40f6d90 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "license": "MIT", "keywords": [], "scripts": { - "copy:nativewasm": "cp -r src/wasm build/main/wasm && cp src/native/index_osx.node build/main/native && cp src/native/index_linux.node build/main/native && cp src/native/index_win.node build/main/native && cp -r wasm-webpack build/module/wasm && rm -r build/module/mpc-lib && cp -r wasm-webpack build/module/mpc-lib", + "copy:nativewasm": "cp -r src/wasm build/main/wasm && cp src/native/index_osx.node build/main/native && cp src/native/index_arm.node build/main/native && cp src/native/index_linux.node build/main/native && cp src/native/index_win.node build/main/native && cp -r wasm-webpack build/module/wasm && rm -r build/module/mpc-lib && cp -r wasm-webpack build/module/mpc-lib", "copy:wasm": "cp -r src/wasm build/main/wasm && cp -r wasm-webpack build/module/wasm", "build": "yarn clean && yarn build:main && yarn build:module && yarn copy:nativewasm", "build:main": "tsc -p tsconfig.json", @@ -86,4 +86,4 @@ "**/*.spec.js" ] } -} +} \ No newline at end of file