Use go:generate to create syscall_windows.go

This dramatically improves maintainability of generated files.

This will be eventually implemented on other generated files as well.
This commit is contained in:
Cristian Maglie
2016-10-13 21:52:13 +02:00
parent 50993cc77b
commit b93c8f2fea
4 changed files with 879 additions and 4 deletions

View File

@@ -25,6 +25,7 @@ before_install:
- ( cd $GOROOT/src; GOOS=$TEST_OS GOARCH=$TEST_ARCH ./make.bash )
script:
- GOARM=5 GO386=387 GOOS=$TEST_OS GOARCH=$TEST_ARCH go get golang.org/x/sys/windows
- GOARM=5 GO386=387 GOOS=$TEST_OS GOARCH=$TEST_ARCH go build -v ./...
- GOARM=5 GO386=387 GOOS=$TEST_OS GOARCH=$TEST_ARCH go test -c -v ./...