mock_build_process

Function mock_build_process 

Source
pub fn mock_build_process<P>(
    temp_contract_dir: P,
    contract_file: P,
    metadata_file: P,
) -> Result<()>
where P: AsRef<Path>,
Expand description

Mocks the build process by generating contract artifacts in a specified temporary directory.

  • temp_contract_dir - The root directory where the target folder and artifacts will be created.
  • contract_file - The path to the mocked contract file to be copied.
  • metadata_file - The path to the mocked metadata file to be copied.