diff --git a/example/capjoin/main.go b/example/capjoin/main.go index 13675c905c6b0b0260dba13be8436676765a372e..71f3356c7a9c1be913a3bb0bb06dcac82bb1c2b8 100644 --- a/example/capjoin/main.go +++ b/example/capjoin/main.go @@ -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 diff --git a/example/drawer/main.go b/example/drawer/main.go index 4af981f9facf11be851891924e16daecea77138b..d26d066d94da638089f6b7628f62b57d74f582ce 100644 --- a/example/drawer/main.go +++ b/example/drawer/main.go @@ -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 diff --git a/example/freetype/main.go b/example/freetype/main.go index 21657a381f4f40c23d2f48656636ea744b2be5ef..dfbde9a2f6066763f752a0a1deb6e0e40bf8a4e1 100644 --- a/example/freetype/main.go +++ b/example/freetype/main.go @@ -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 diff --git a/example/gamma/main.go b/example/gamma/main.go index 778697f4f0819192d8372f28557aa5211dc77027..cdd50bc3bb6a01b93fd3cfe686636c9a2636f598 100644 --- a/example/gamma/main.go +++ b/example/gamma/main.go @@ -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 diff --git a/example/raster/main.go b/example/raster/main.go index ae9c57f9736985b4ea96eeab175170147bab2881..3e572e1c50bdd2c1a1a5d30496c96c5bc8303c9e 100644 --- a/example/raster/main.go +++ b/example/raster/main.go @@ -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 diff --git a/example/round/main.go b/example/round/main.go index 6c3012e625b5c39dc632dec9019273c47e90d0c6..2920e8335e4ec5d9a4e6de0df152c3f85b581b9d 100644 --- a/example/round/main.go +++ b/example/round/main.go @@ -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 diff --git a/example/truetype/main.go b/example/truetype/main.go index 9f52cd1c624795277eb846e8d6cde9d0d0225e07..e7db2d0ca10ed2571049b9df1d9b65cb227a0c63 100644 --- a/example/truetype/main.go +++ b/example/truetype/main.go @@ -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