Is your feature request related to a problem? Please describe.
When configuring external deploy scripts and running hardhat-deploy, these deploy scripts will all be run prior to running the local deploy scripts. I would like to be able to have external deploy scripts which run only when a local deploy script depends on them.
Describe the solution you'd like
The solution could be an additional flag in the external.contracts configuration to switch to the "dependency-only" new behaviour, such as:
Describe alternatives you've considered
As for now, in order not to run all the external deploy scripts, my solution is to only run hardhat deploy with the --tags option.
Is your feature request related to a problem? Please describe. When configuring
external
deploy scripts and runninghardhat-deploy
, these deploy scripts will all be run prior to running the local deploy scripts. I would like to be able to haveexternal
deploy scripts which run only when a local deploy script depends on them.Describe the solution you'd like The solution could be an additional flag in the
external.contracts
configuration to switch to the "dependency-only" new behaviour, such as:or:
Describe alternatives you've considered As for now, in order not to run all the external deploy scripts, my solution is to only run
hardhat deploy
with the--tags
option.