fix: build fixtures as part of test (#495)

This commit is contained in:
Jack May 2019-09-30 09:04:39 -07:00 committed by Michael Vines
parent d4a2384a5e
commit 0f0a0a3b88
3 changed files with 5 additions and 4 deletions

View File

@ -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",
@ -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 git@github.com: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",

Binary file not shown.