From 1e1c9de367a933424f802ffc21f1ce0309299462 Mon Sep 17 00:00:00 2001 From: Jack May Date: Wed, 20 May 2020 11:56:40 -0700 Subject: [PATCH] fix: clean fixtures --- web3.js/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web3.js/package.json b/web3.js/package.json index 1e1295a3a7..58f7c3005e 100644 --- a/web3.js/package.json +++ b/web3.js/package.json @@ -37,10 +37,11 @@ "/src" ], "scripts": { - "bpf-sdk:install": "bin/bpf-sdk-install.sh .", + "bpf-sdk:install": "npm run clean:fixtures; bin/bpf-sdk-install.sh .", "bpf-sdk:remove-symlinks": "find bpf-sdk -type l -print -exec cp {} {}.tmp \\; -exec mv {}.tmp {} \\;", "build": "cross-env NODE_ENV=production rollup -c", "build:fixtures": "./test/fixtures/noop-c/build.sh; ./test/fixtures/noop-rust/build.sh", + "clean:fixtures": "examples/bpf-rust-noop/do.sh clean; make -C examples/bpf-c-noop clean ", "clean": "rimraf ./coverage ./lib", "codecov": "set -ex; npm run test:cover; cat ./coverage/lcov.info | codecov", "dev": "cross-env NODE_ENV=development rollup -c",