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: require a project toml for ftl dev and ftl serve #1739

Closed
wants to merge 1 commit into from

Conversation

safeer
Copy link
Contributor

@safeer safeer commented Jun 11, 2024

Fixes #1669 by maintaining the list of configuration files that generated a project's Config, and adding a non-empty pre-condition for ftl dev and ftl serve.

This seemed cleaner than plumbing through the ConfigFlag to sub-commands, but I could use another opinion..

@ftl-robot ftl-robot mentioned this pull request Jun 11, 2024
@safeer
Copy link
Contributor Author

safeer commented Jun 12, 2024

Going a different route

@safeer safeer closed this Jun 12, 2024
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.

ftl dev and ftl serve should error if no ftl-project.toml file is found (or specified)
1 participant