Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inform user if buld must be executed when doing codegen #116

Open
safareli opened this issue Oct 1, 2019 · 0 comments
Open

inform user if buld must be executed when doing codegen #116

safareli opened this issue Oct 1, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@safareli
Copy link
Contributor

safareli commented Oct 1, 2019

At this moment if you running chanterelle codegen on project where chanterelle build is not been executed you would get:

$ chanterelle codegen
/Users/safareli/dev/foam/purescript-web3/test/chanterelle/output/Effect.Aff/foreign.js:532
                throw util.fromLeft(step);
                ^

Error: ENOENT: no such file or directory, open '/Users/safareli/dev/foam/purescript-web3/test/chanterelle/build/contracts/ComplexStorage.json'

It would be better to instead of this we say to user something like:

"hey you shuold run chanterelle build first"

@safareli safareli added the enhancement New feature or request label Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant