-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: override default cwd path for .solcover.js
#384
Comments
@PaulRBerg Ah yes, that's a good idea. Couple quick questions...
As a practical matter this feature would be added in the For sablier you'd begin declaring solidity-coverage as a plugin in your truffle config and the command would look like this:
The config path would be relative to the |
Exactly! Although I haven't yet pushed to remote my local integration of solidity-coverage.
Exactly x2! Here's the scripts I currently have for eslint and solhint: "lint:js": "eslint --ignore-path ../../.eslintignore .",
"lint:sol": "solhint --config ../../.solhint.json --max-warnings 0 \"contracts/**/*.sol\"",
I'd love to! And yeah your example command seems to be exactly what I was thinking of. |
@PaulRBerg Ok awesome. Am actively looking for industrial sized projects to validate the beta against and will be starting to do some installations and integration tests next week. I will ping you then when it looks like it might be in good enough state to try out... |
Published to latest with |
My folder structure:
I have to do this because solidity-coverage uses req-cwd. It'd be cooler if I could override the default cwd path for
.solcover.js
through the CLI. It seems thatsolidity-coverage
doesn't accept any options at all at the moment.The text was updated successfully, but these errors were encountered: