example: limit examples build to linux or darwin.
windows and other non-mobile os support is not there yet. Change-Id: Ie9c456b646bfa0b0c489e1b6344b5afca4801c5f Reviewed-on: https://go-review.googlesource.com/12744 Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
parent
d691afa36e
commit
b3bd3d29aa
@ -2,6 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// +build darwin linux
|
||||
|
||||
// An app that makes a sound as the gopher hits the walls of the screen.
|
||||
//
|
||||
// Note: This demo is an early preview of Go 1.5. In order to build this
|
||||
|
@ -2,6 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// +build darwin linux
|
||||
|
||||
// An app that draws a green triangle on a red background.
|
||||
//
|
||||
// Note: This demo is an early preview of Go 1.5. In order to build this
|
||||
|
@ -2,6 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// +build darwin linux
|
||||
|
||||
// An app that paints green if golang.org is reachable when the app first
|
||||
// starts, or red otherwise.
|
||||
//
|
||||
|
@ -2,6 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// +build darwin linux
|
||||
|
||||
// An app that demonstrates the sprite package.
|
||||
//
|
||||
// Note: This demo is an early preview of Go 1.5. In order to build this
|
||||
|
Loading…
x
Reference in New Issue
Block a user