Commit d82caff9 authored by Guang Chen's avatar Guang Chen

feat: add index for tasks

create an index.ts file in the tasks folder which re-exports each of the tasks
Also, change all of the tasks imports in hardhat.config.ts to './tasks'
parent 42d02bcc
...@@ -13,14 +13,7 @@ import '@nomiclabs/hardhat-waffle' ...@@ -13,14 +13,7 @@ import '@nomiclabs/hardhat-waffle'
import '@nomiclabs/hardhat-etherscan' import '@nomiclabs/hardhat-etherscan'
import 'hardhat-deploy' import 'hardhat-deploy'
import '@typechain/hardhat' import '@typechain/hardhat'
import './tasks/deploy' import './tasks'
import './tasks/l2-gasprice'
import './tasks/set-owner'
import './tasks/validate-address-dictator'
import './tasks/validate-chugsplash-dictator'
import './tasks/whitelist'
import './tasks/withdraw-fees'
import './tasks/fetch-batches'
import 'hardhat-gas-reporter' import 'hardhat-gas-reporter'
import '@primitivefi/hardhat-dodoc' import '@primitivefi/hardhat-dodoc'
import 'hardhat-output-validator' import 'hardhat-output-validator'
......
export * from './deploy'
export * from './l2-gasprice'
export * from './set-owner'
export * from './validate-address-dictator'
export * from './validate-chugsplash-dictator'
export * from './whitelist'
export * from './withdraw-fees'
export * from './fetch-batches'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment