You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
304 B
8 lines
304 B
2 years ago
|
const { subtask } = require('hardhat/config');
|
||
|
const { TASK_COMPILE_SOLIDITY_GET_SOURCE_PATHS } = require('hardhat/builtin-tasks/task-names');
|
||
|
|
||
|
subtask(TASK_COMPILE_SOLIDITY_GET_SOURCE_PATHS)
|
||
|
.setAction(async (_, __, runSuper) =>
|
||
|
(await runSuper()).filter((path) => !path.endsWith('.t.sol')),
|
||
|
);
|