From 6f3041d9697c31e942dab5f3de6f99b7ec3607d3 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 16 Oct 2016 01:06:31 +0900 Subject: [PATCH] doc: Update example commands --- _docs/index.tmpl.html | 2 +- docs/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_docs/index.tmpl.html b/_docs/index.tmpl.html index 552be22e9..56380a1d2 100644 --- a/_docs/index.tmpl.html +++ b/_docs/index.tmpl.html @@ -66,7 +66,7 @@

Execute the examples

:; go get github.com/hajimehoshi/ebiten
 :; cd $GOPATH/src/github.com/hajimehoshi/ebiten/examples
-:; go run rotate/main.go
+:; go run -tags=example rotate/main.go

Getting Started

diff --git a/docs/index.html b/docs/index.html index 0fcb276c5..7513cbe4e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -98,7 +98,7 @@

Execute the examples

:; go get github.com/hajimehoshi/ebiten
 :; cd $GOPATH/src/github.com/hajimehoshi/ebiten/examples
-:; go run rotate/main.go
+:; go run -tags=example rotate/main.go

Getting Started