Closed alcuadrado closed 3 years ago
I also think that this plugin could override the compile task, so that calling typechain isn't required. This way you can keep your normal workflow and get the benefits of the plugin automatically. I think a --no-typechain param should be added, so that typechain errors don't prevent compilation. I didn't implement this because I wanted to get your opinion first.
I like this idea @alcuadrado! I will implement this as a follow-up feature.
Hey @rhlsthrm,
I made some improvements to the plugin, without introducing breaking changes.
They are:
clean
task, so that it doesn't delete local things when--global
is used, and also simplified it.gitignore
compile
thequiet
param, so that it doesn't print "Nothing to compile" anymore.I also think that this plugin could override the
compile
task, so that callingtypechain
isn't required. This way you can keep your normal workflow and get the benefits of the plugin automatically. I think a--no-typechain
param should be added, so that typechain errors don't prevent compilation. I didn't implement this because I wanted to get your opinion first.Best Pato