commit | 4cff43048f375b320b21abd10e97539ed9c33900 | [log] [tgz] |
---|---|---|
author | Nigel Tao <nigeltao@golang.org> | Sun Apr 10 15:25:52 2016 +1000 |
committer | Nigel Tao <nigeltao@golang.org> | Tue Apr 12 11:14:18 2016 +0000 |
tree | 6140904de41bb9ac96c25cecfa1c4e84bb9282c8 | |
parent | c4e9f1b429ee836dd44e8437890c55f4b9106687 [diff] |
example/font: use an "example" build tag instead of "ignore". The golang-dev discussion is at https://groups.google.com/d/topic/golang-dev/qKpxZiNABcY/discussion Change-Id: I55d626fd9b4c5585d11c585a8553fb5184d0ace7 Reviewed-on: https://go-review.googlesource.com/21788 Reviewed-by: Andrew Gerrand <adg@golang.org>
diff --git a/example/font/main.go b/example/font/main.go index 81aaf3f..78fd112 100644 --- a/example/font/main.go +++ b/example/font/main.go
@@ -2,10 +2,11 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build ignore +// +build example // // This build tag means that "go install golang.org/x/image/..." doesn't -// install this example program. Use "go run main.go" to run it. +// install this example program. Use "go run main.go" to run it or "go install +// -tags=example" to install it. // Font is a basic example of using fonts. package main