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 directories must be ignored by Go #993

Merged
merged 1 commit into from
Feb 27, 2024
Merged

Conversation

alecthomas
Copy link
Collaborator

| is not supported in filenames retrieved by the Go toolchain, as Windows doesn't allow it in filenames. As we're zipping these files, this isn't a concern for us, but it's still prevented by Go. To work around this we create a dummy go.mod file which Go interprets as a separate module and thus ignores.

Ask me how I figured this out?

Fixes #991

`|` is not supported in filenames retrieved by the Go toolchain, as
Windows doesn't allow it in filenames. As we're zipping these files,
this isn't a concern for us, but it's still prevented by Go. To work
around this we create a dummy `go.mod` file which Go interprets as a
separate module and thus ignores.

Fixes #991
@alecthomas alecthomas merged commit 405dd15 into main Feb 27, 2024
11 checks passed
@alecthomas alecthomas deleted the aat/fix-991 branch February 27, 2024 05:56
@wesbillman
Copy link
Collaborator

How did you figure this out?!? 😂

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.

Kotlin build errors on ftl dev .
2 participants