Skip to content

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

@safareli

Description

@safareli

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions