File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,10 @@ import 'hardhat-storage-layout'
88import 'hardhat-contract-sizer'
99import 'hardhat-secure-accounts'
1010
11- import './tasks/deploy'
12-
1311// Skip importing hardhat-graph-protocol when building the project, it has circular dependency
1412if ( process . env . BUILD_RUN !== 'true' ) {
1513 require ( 'hardhat-graph-protocol' )
14+ require ( './tasks/deploy' )
1615}
1716
1817export default hardhatBaseConfig
Original file line number Diff line number Diff line change @@ -10,11 +10,10 @@ import 'hardhat-contract-sizer'
1010import 'hardhat-secure-accounts'
1111import 'solidity-docgen'
1212
13- import './tasks/deploy'
14-
1513// Skip importing hardhat-graph-protocol when building the project, it has circular dependency
1614if ( process . env . BUILD_RUN !== 'true' ) {
1715 require ( 'hardhat-graph-protocol' )
16+ require ( './tasks/deploy' )
1817}
1918
2019const config : HardhatUserConfig = {
Original file line number Diff line number Diff line change 1515 "lint:sol" : " prettier --write contracts/**/*.sol && solhint --noPrompt --fix contracts/**/*.sol --config node_modules/solhint-graph-config/index.js" ,
1616 "lint" : " yarn lint:ts && yarn lint:sol" ,
1717 "clean" : " rm -rf build dist cache cache_forge typechain-types" ,
18- "build" : " forge build --skip test && BUILD_RUN=true hardhat compile" ,
18+ "build" : " BUILD_RUN=true hardhat compile" ,
1919 "test" : " forge test && hardhat test"
2020 },
2121 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments