提交 c67e4d98 编写于 作者: N Nigel Tao

Use an "example" build tag instead of "ignore".

The golang-dev discussion is at
https://groups.google.com/d/topic/golang-dev/qKpxZiNABcY/discussion
上级 f9531a36
......@@ -3,10 +3,11 @@
// FreeType License or the GNU General Public License version 2 (or
// any later version), both of which can be found in the LICENSE file.
// +build ignore
// +build example
//
// This build tag means that "go install github.com/golang/freetype/..."
// doesn't install this example program. Use "go run main.go" to run it.
// doesn't install this example program. Use "go run main.go" to run it or "go
// install -tags=example" to install it.
package main
......
......@@ -3,10 +3,11 @@
// FreeType License or the GNU General Public License version 2 (or
// any later version), both of which can be found in the LICENSE file.
// +build ignore
// +build example
//
// This build tag means that "go install github.com/golang/freetype/..."
// doesn't install this example program. Use "go run main.go" to run it.
// doesn't install this example program. Use "go run main.go" to run it or "go
// install -tags=example" to install it.
package main
......
......@@ -3,10 +3,11 @@
// FreeType License or the GNU General Public License version 2 (or
// any later version), both of which can be found in the LICENSE file.
// +build ignore
// +build example
//
// This build tag means that "go install github.com/golang/freetype/..."
// doesn't install this example program. Use "go run main.go" to run it.
// doesn't install this example program. Use "go run main.go" to run it or "go
// install -tags=example" to install it.
package main
......
......@@ -3,10 +3,11 @@
// FreeType License or the GNU General Public License version 2 (or
// any later version), both of which can be found in the LICENSE file.
// +build ignore
// +build example
//
// This build tag means that "go install github.com/golang/freetype/..."
// doesn't install this example program. Use "go run main.go" to run it.
// doesn't install this example program. Use "go run main.go" to run it or "go
// install -tags=example" to install it.
package main
......
......@@ -3,10 +3,11 @@
// FreeType License or the GNU General Public License version 2 (or
// any later version), both of which can be found in the LICENSE file.
// +build ignore
// +build example
//
// This build tag means that "go install github.com/golang/freetype/..."
// doesn't install this example program. Use "go run main.go" to run it.
// doesn't install this example program. Use "go run main.go" to run it or "go
// install -tags=example" to install it.
package main
......
......@@ -3,10 +3,11 @@
// FreeType License or the GNU General Public License version 2 (or
// any later version), both of which can be found in the LICENSE file.
// +build ignore
// +build example
//
// This build tag means that "go install github.com/golang/freetype/..."
// doesn't install this example program. Use "go run main.go" to run it.
// doesn't install this example program. Use "go run main.go" to run it or "go
// install -tags=example" to install it.
// This program visualizes the quadratic approximation to the circle, used to
// implement round joins when stroking paths. The approximation is used in the
......
......@@ -3,10 +3,11 @@
// FreeType License or the GNU General Public License version 2 (or
// any later version), both of which can be found in the LICENSE file.
// +build ignore
// +build example
//
// This build tag means that "go install github.com/golang/freetype/..."
// doesn't install this example program. Use "go run main.go" to run it.
// doesn't install this example program. Use "go run main.go" to run it or "go
// install -tags=example" to install it.
package main
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册