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 an ftl-project.toml file #1759

Merged
merged 1 commit into from
Jun 13, 2024
Merged

Conversation

alecthomas
Copy link
Collaborator

@alecthomas alecthomas commented Jun 13, 2024

This is a global requirement across all commands, not scoped specifically to ftl serve or ftl dev, because eg. ftl secret/ftl config, etc. etc. all require this config file, and it's just cleaner/safer to do it in one location.

Also fixed soooooo many bugs!

Fixes #1669

@alecthomas alecthomas requested review from a team and worstell and removed request for a team June 13, 2024 00:03
@ftl-robot ftl-robot mentioned this pull request Jun 13, 2024
@alecthomas alecthomas force-pushed the aat/require-project-config branch from 832e359 to 4fc42a6 Compare June 13, 2024 00:39
@alecthomas alecthomas force-pushed the aat/require-project-config branch 3 times, most recently from 06f4b76 to 90040a2 Compare June 13, 2024 02:01
This is a global requirement across all commands, not scoped
specifically to `ftl serve` or `ftl dev`, because eg. `ftl secret`/`ftl
config`, etc. etc. all require this config file, and it's just
cleaner/safer to do it in one location.

Fixes #1669
@alecthomas alecthomas force-pushed the aat/require-project-config branch from 90040a2 to 820d896 Compare June 13, 2024 03:10
@alecthomas alecthomas merged commit 5372a00 into main Jun 13, 2024
41 checks passed
@alecthomas alecthomas deleted the aat/require-project-config branch June 13, 2024 03:15
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)
2 participants