Skip to content

Commit

Permalink
fix: template directories must be ignored by Go
Browse files Browse the repository at this point in the history
`|` 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
  • Loading branch information
alecthomas committed Feb 27, 2024
1 parent c3f98c3 commit d9e910f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kotlin-runtime/external-module-template/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module ignore

go 1.22.0

0 comments on commit d9e910f

Please sign in to comment.