[Feature] Add postCompile hook
Closed this issue ยท 3 comments
vporton commented
๐ Feature
Please add postCompile hook which would be always run after compilation of contracts and other components.
Have you read the Contributing Guidelines on issues?
Yes.
Motivation
I need it for my project in order to extract API from contract JSON files and store the extracted part of the JSON into app/public/
directory.
There may be other uses, too.
macor161 commented
Hi @vporton, thanks for submitting this feature request. You could currently achieve this by creating an npm script that runs truffle compile
and your post-compilation logic.
E.g. :
"compile": "truffle compile && ...",
vporton commented
@macor161 This script is not what I need because it does not run during e.g. npm start
.
0xGabi commented
We are deprioritizing adding new features to the aragonCLI. This should be already possible using aragon-buidler plugin.