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

fix: template command creating a faulty directory #114

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jpopesculian
Copy link
Contributor

@volgar1x can you provide more information on what's happening here?

@volgar1x
Copy link
Contributor

@jpopesculian this fixes a bug we were encountering in integration tests with cli >= 0.9.0 causing an error "Project not setup".

aqora template is split in two part:

  1. creation of the destination directory with use-case's template,
  2. installation of dependencies and data.

Part two would not run at all because part one creates .aqora/data/use_case.toml, thus why I added upgrade: true to InstallArgs when templating. But users can pass --no-install when templating, so we need to clean the directory in order to let them run install properly afterward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants