Skip to content

Commit

Permalink
fix: #4103
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm committed Jul 1, 2024
1 parent 0a0230c commit ac038b2
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/happy-dolphins-raise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wagmi/cli": patch
---

Updated Foundry default excludes.
2 changes: 1 addition & 1 deletion packages/cli/src/plugins/__fixtures__/foundry/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ out = 'out'
solc = '0.8.13'
src = 'src'

# See more config options https://github.com/foundry-rs/foundry/tree/master/config
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
16 changes: 13 additions & 3 deletions packages/cli/src/plugins/foundry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,33 @@ import * as logger from '../logger.js'
import type { Evaluate, RequiredBy } from '../types.js'

const defaultExcludes = [
'Base.sol/**',
'Common.sol/**',
'Components.sol/**',
'IERC165.sol/**',
'IERC20.sol/**',
'IERC721.sol/**',
'IMulticall2.sol/**',
'MockERC20.sol/**',
'MockERC721.sol/**',
'Script.sol/**',
'StdAssertions.sol/**',
'StdInvariant.sol/**',
'StdError.sol/**',
'StdChains.sol/**',
'StdCheats.sol/**',
'StdMath.sol/**',
'StdError.sol/**',
'StdInvariant.sol/**',
'StdJson.sol/**',
'StdMath.sol/**',
'StdStorage.sol/**',
'StdStyle.sol/**',
'StdToml.sol/**',
'StdUtils.sol/**',
'Test.sol/**',
'Vm.sol/**',
'build-info/**',
'console.sol/**',
'console2.sol/**',
'safeconsole.sol/**',
'**.s.sol/*.json',
'**.t.sol/*.json',
]
Expand Down

0 comments on commit ac038b2

Please sign in to comment.