Fix solc-nightly job (#1732)
* update truffle to 5.0.14 * fix setup to test with solc-nightly * switch to npx in script/test.sh * please the linter * rename build to prepack * move download of nightly build to a compile script * make compile script executable
Showing
| ... | @@ -8,8 +8,7 @@ | ... | @@ -8,8 +8,7 @@ |
| "test/behaviors" | "test/behaviors" | ||
| ], | ], | ||
| "scripts": { | "scripts": { | ||
| "build": "scripts/build.sh", | "compile": "scripts/compile.sh", | ||
| "compile": "truffle compile", | |||
| "console": "truffle console", | "console": "truffle console", | ||
| "coverage": "scripts/coverage.sh", | "coverage": "scripts/coverage.sh", | ||
| "docsite": "scripts/docsite.sh", | "docsite": "scripts/docsite.sh", | ||
| ... | @@ -19,7 +18,7 @@ | ... | @@ -19,7 +18,7 @@ |
| "lint:js": "eslint .", | "lint:js": "eslint .", | ||
| "lint:js:fix": "eslint . --fix", | "lint:js:fix": "eslint . --fix", | ||
| "lint:sol": "solhint --max-warnings 0 \"contracts/**/*.sol\"", | "lint:sol": "solhint --max-warnings 0 \"contracts/**/*.sol\"", | ||
| "prepack": "npm run build", | "prepack": "npm run prepack", | ||
| "release": "scripts/release/release.sh", | "release": "scripts/release/release.sh", | ||
| "version": "scripts/release/update-changelog-release-date.js && scripts/release/update-ethpm-version.js", | "version": "scripts/release/update-changelog-release-date.js && scripts/release/update-ethpm-version.js", | ||
| "test": "npm run compile && scripts/test.sh" | "test": "npm run compile && scripts/test.sh" | ||
| ... | @@ -60,6 +59,6 @@ | ... | @@ -60,6 +59,6 @@ |
| "solhint": "^1.5.0", | "solhint": "^1.5.0", | ||
| "solidity-coverage": "github:rotcivegaf/solidity-coverage#5875f5b7bc74d447f3312c9c0e9fc7814b482477", | "solidity-coverage": "github:rotcivegaf/solidity-coverage#5875f5b7bc74d447f3312c9c0e9fc7814b482477", | ||
| "solidity-docgen": "^0.2.0-alpha.0", | "solidity-docgen": "^0.2.0-alpha.0", | ||
| "truffle": "^5.0.0" | "truffle": "^5.0.14" | ||
| } | } | ||
| } | } |
scripts/compile.sh
0 → 100755
File moved
Please
register
or
sign in
to comment