Skip to content

Commit

Permalink
only skip test files in hardhat compile to allow abi generation
Browse files Browse the repository at this point in the history
  • Loading branch information
RensR committed Dec 9, 2024
1 parent 2af7d47 commit 06914db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ subtask(TASK_COMPILE_SOLIDITY_GET_SOURCE_PATHS).setAction(
async (_, __, runSuper) => {
const paths = await runSuper()
const noTests = paths.filter((p: string) => !p.endsWith('.t.sol'))
const noCCIP = noTests.filter((p: string) => !p.includes('/v0.8/ccip'))
const noCCIP = noTests.filter((p: string) => !p.includes('/v0.8/ccip/test'))
const noKeystone = noCCIP.filter(
(p: string) => !p.includes('/v0.8/keystone'),
(p: string) => !p.includes('/v0.8/keystone/test'),
)
return noKeystone.filter(
(p: string) => !p.includes('src/v0.8/vendor/forge-std'),
Expand Down

0 comments on commit 06914db

Please sign in to comment.