From f5c8aece92d30a74b57f604a4526066e47b8feb0 Mon Sep 17 00:00:00 2001 From: Marcus Pousette Date: Mon, 30 Dec 2024 21:25:26 +0100 Subject: [PATCH] fix: copy js after rust build --- packages/utils/rateless-iblt/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/utils/rateless-iblt/package.json b/packages/utils/rateless-iblt/package.json index 6de7ca4a5..675110b3a 100644 --- a/packages/utils/rateless-iblt/package.json +++ b/packages/utils/rateless-iblt/package.json @@ -53,7 +53,7 @@ "benchmark": "cargo bench", "clean": "cargo clear", "cp-src-js": "shx cp -r ./src_js/* ./dist", - "build": "npm run cp-src-js && wasm-pack build --target web --out-dir dist --out-name rateless_iblt && shx rm -rf ./dist/.gitignore && shx rm -rf ./dist/package.json", + "build": "wasm-pack build --target web --out-dir dist --out-name rateless_iblt && shx rm -rf ./dist/.gitignore && shx rm -rf ./dist/package.json && npm run cp-src-js", "test": "cargo test && aegir test", "lint": "cargo fmt" },