Re: [go-nuts] go generate, go run, and cross compilation with GOOS

2017-05-16 Thread Ian Lance Taylor
On Tue, May 16, 2017 at 7:39 AM, wrote: > > recently, I replaced a script which we used for code generation by a small > go program with the same functionality. The reason for this change was that > windows failed running the script because it can't interprete the script's > shebang and tried to

[go-nuts] go generate, go run, and cross compilation with GOOS

2017-05-16 Thread florian
Hi everyone, recently, I replaced a script which we used for code generation by a small go program with the same functionality. The reason for this change was that windows failed running the script because it can't interprete the script's shebang and tried to treat it like a compiled executable