Skip to content

Commit

Permalink
fix: build fixtures as part of test (#495)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackcmay authored and mvines committed Jun 15, 2020
1 parent d4a2384 commit 0f0a0a3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions web3.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"bpf-sdk:install": "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": "rimraf ./coverage ./lib",
"codecov": "set -ex; npm run test:cover; cat ./coverage/lcov.info | codecov",
"dev": "cross-env NODE_ENV=development rollup -c",
Expand All @@ -59,10 +60,10 @@
"prepare": "run-s clean bpf-sdk:install bpf-sdk:remove-symlinks build",
"pretty": "prettier --write '{,{examples,src,test}/**/}*.js'",
"re": "semantic-release --repository-url [email protected]:solana-labs/solana-web3.js.git",
"test": "cross-env NODE_ENV=test jest --useStderr",
"test:cover": "cross-env NODE_ENV=test jest --coverage --useStderr",
"test:live": "cross-env NODE_ENV=test TEST_LIVE=1 jest --useStderr",
"test:watch": "cross-env NODE_ENV=test jest --watch --useStderr"
"test": "npm run build:fixtures; cross-env NODE_ENV=test jest --useStderr",
"test:cover": "npm run build:fixtures; cross-env NODE_ENV=test jest --coverage --useStderr",
"test:live": "npm run build:fixtures; cross-env NODE_ENV=test TEST_LIVE=1 jest --useStderr",
"test:watch": "npm run build:fixtures; cross-env NODE_ENV=test jest --watch --useStderr"
},
"dependencies": {
"@babel/runtime": "^7.3.1",
Expand Down
Binary file removed web3.js/test/fixtures/noop-c/noop.so
Binary file not shown.
Binary file not shown.

0 comments on commit 0f0a0a3

Please sign in to comment.