Skip to content

Clean local engine build #209

@mhanberg

Description

@mhanberg

Description

Expert uses Mix.install to build and install the engine. During development, if you make dependency changes to the engine, Mix.install won't know and it might run into dependency errors like in #200.

Solution

I think that a reasonable solution for this is to include a subcommand in the expert binary for deleting/cleaning this builds

$ expert engine ls
/Users/mitchell/Library/Application Support/Expert/0.1.0
/Users/mitchell/Library/Application Support/Expert/0.1.1
/Users/mitchell/Library/Application Support/Expert/0.2.0

$ expert engine clean
Delete /Users/mitchell/Library/Application Support/Expert/0.1.0? [Yn]
Delete /Users/mitchell/Library/Application Support/Expert/0.1.1? [Yn]
Delete /Users/mitchell/Library/Application Support/Expert/0.2.0? [Yn]

$ expert engine clean --force
Deleted /Users/mitchell/Library/Application Support/Expert/0.1.0
Deleted /Users/mitchell/Library/Application Support/Expert/0.1.1
Deleted /Users/mitchell/Library/Application Support/Expert/0.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions