1
0
mirror of https://github.com/golang/go synced 2024-11-22 10:34:46 -07:00

more tags for go/build

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5490047
This commit is contained in:
Russ Cox 2011-12-15 13:35:59 -05:00
parent ea51dd23b4
commit fd1f10966d
10 changed files with 19 additions and 1 deletions

View File

@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build ignore
package main package main
// This file replaces main.go when running godoc under app-engine. // This file replaces main.go when running godoc under app-engine.

View File

@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build linux
package terminal package terminal
import "io" import "io"

View File

@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build linux
package terminal package terminal
import ( import (

View File

@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build linux
// Package terminal provides support functions for dealing with terminals, as // Package terminal provides support functions for dealing with terminals, as
// commonly found on UNIX systems. // commonly found on UNIX systems.
// //

View File

@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build windows
// Package winfsnotify allows the user to receive // Package winfsnotify allows the user to receive
// file system event notifications on Windows. // file system event notifications on Windows.
package winfsnotify package winfsnotify

View File

@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build windows
package winfsnotify package winfsnotify
import ( import (

View File

@ -18,6 +18,7 @@ GOFILES=\
include ../../../Make.cmd include ../../../Make.cmd
zwinapi.go: winapi.go zwinapi.go: winapi.go
$(GOROOT)/src/pkg/syscall/mksyscall_windows.pl $< \ (echo '// +build windows'; \
$(GOROOT)/src/pkg/syscall/mksyscall_windows.pl $<) \
| gofmt \ | gofmt \
> $@ > $@

View File

@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build windows
package main package main
import ( import (

View File

@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build windows
package main package main
import ( import (

View File

@ -1,3 +1,4 @@
// +build windows
// mksyscall_windows.pl winapi.go // mksyscall_windows.pl winapi.go
// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT // MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT