git-lfs/git-lfs_windows.go
brian m. carlson 51fdfc258f
Run go generate only on Windows
On Windows, we want to run goversioninfo, which embeds certain version
information into Windows binaries. However, despite compiling and
running on non-Windows systems, it isn't very useful there. Move the
go:generate comment into a separate file that's only built on Windows.
2019-01-15 22:17:53 +00:00

5 lines
59 B
Go

//+build windows
//go:generate goversioninfo
package main