contracts-bedrock: optimize build info generation (#2861)
Only create the hardhat style `BuildInfo` objects when
compiling through the hardhat interface. Do not build
them when going through `forge build`. This saves
disk i/o when just building using `forge` vs building
using `hardhat` for releases or hardhat tasks.
Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Showing
Please register or sign in to comment