Skip to content
This repository was archived by the owner on Aug 17, 2025. It is now read-only.

Commit 405dd15

Browse files
authored
fix: template directories must be ignored by Go (#993)
`|` 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
1 parent 8c03e7b commit 405dd15

File tree

1 file changed

+3
-0
lines changed
  • kotlin-runtime/external-module-template

1 file changed

+3
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module ignore
2+
3+
go 1.22.0

0 commit comments

Comments
 (0)