We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
skip
avoid-contracts
Forge
forge 0.0.2 (01f61ff 2024-05-11T00:24:53.177450000Z)
forge build
macOS (Intel)
forge init
Update Counter.t.sol to not be compileable. Maybe with something like this:
Counter.t.sol
function setUp() public { hello }
then, run this:
RUST_LOG=debug forge build --skip Counter.t.sol --zksync
It will incorrectly try to compile the contract we are skipping. Without the --zksync flag, it works fine.
--zksync
The text was updated successfully, but these errors were encountered:
@PatrickAlphaC I will look to reproduce, it seems to be working for me at first glance.
Sorry, something went wrong.
@PatrickAlphaC you will need to use the following command:
RUST_LOG=debug forge build --skip Counter.t.sol --avoid-contracts Counter.t.sol --zksync
We intend to consolidate skip and avoid-contracts in a future release.
No branches or pull requests
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.0.2 (01f61ff 2024-05-11T00:24:53.177450000Z)
What command(s) is the bug in?
forge build
Operating System
macOS (Intel)
Describe the bug
Update
Counter.t.sol
to not be compileable. Maybe with something like this:then, run this:
It will incorrectly try to compile the contract we are skipping. Without the
--zksync
flag, it works fine.The text was updated successfully, but these errors were encountered: