Function forge::utils::find_artifacts_dir[][src]

pub fn find_artifacts_dir(root: impl AsRef<Path>) -> PathBuf
Expand description

Determines the artifacts directory to use given the root path to a project’s workspace.

By default the dapptools style out directory takes precedence unless it does not exist but hardhat style artifacts exists, in which case <root>/artifacts will be returned.