@solidstate/hardhat-license-identifier
Version:
Prepend local Solidity source files with an SPDX License Identifier
10 lines (8 loc) • 308 B
text/typescript
import { TASK_LICENSE_LIST } from '../task_names.js';
import { task } from 'hardhat/config';
export default task(TASK_LICENSE_LIST)
.setDescription(
'Print table of SPDX license identifiers in use by local source files',
)
.setAction(import.meta.resolve('../actions/license_list.js'))
.build();