Take --sources
and --output
into account when generating deployer.
#12
Labels
bug
Something isn't working
--sources
and --output
into account when generating deployer.
#12
This is a follow-up on a previous issue I opened regarding deployer generation in projects with a non-standard file structure.
My current issue is that despite being able to set the build directory for the deployer using the
--output
flag, the files generated have the wrong path set for importing contracts.This is because the call to
generate_deployer
does not take the relative output path into account when populating the handlebars template withgenerated_folder_path
as it is hereIt would be very helpful if the
output
could overwrite thecli.root
in that case, since while the root is still correct for locating contracts with--sources
, the relative paths are incorrect.In my case, this:
Should really be:
Thank you!
The text was updated successfully, but these errors were encountered: