Skip to content
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

cli: Add --no-idl option to the test command #3175

Conversation

acheroncrypto
Copy link
Collaborator

Problem

If you make a change to your program, but the API of the program stays the same, building the IDL is pointless and takes additional time.

There is no direct way (other than --skip-build which we don't want) to stop the IDL from building before tests. You'd have to combine both the build and the test command to reduce this extra build time:

anchor build --no-idl && anchor test --skip-build

Summary of changes

Add --no-idl option to the test command, similar to #2847.

Copy link

vercel bot commented Aug 16, 2024

@acheroncrypto is attempting to deploy a commit to the coral-xyz Team on Vercel.

A member of the Team first needs to authorize it.

@acheroncrypto acheroncrypto merged commit 2a7d943 into coral-xyz:master Aug 16, 2024
0 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant