-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Use [scripts.test] for
anchor test`?
#555
Comments
What if we re-use the existing [scripts]
test = "<test-cmd-here>" |
Sorry, that did not make my initial message clear!
Should we remove |
My weak preference is to use it as a default. If [scripts] + test is provided, then to use that as an override. Any reasons to not do this? |
I see only one reason -- it's clear for the developer what command is executed. There also will no surprise that something is broken if |
I do like the explicit nature of this change. If made, we should bundle it with other breaking changes. :) |
Resolved with #550 |
Source: #550 (comment)
Proposed breaking change:
mocha
/ts-mocha
selection fromanchor-cli
.[scripts.test]
as command foranchor test
.mocha
/ts-mocha
command to[scripts.test]
in templates.The text was updated successfully, but these errors were encountered: