doc: No need to specify 'example' tag when 'go run'

This commit is contained in:
Hajime Hoshi 2016-09-03 18:06:28 +09:00
parent d08beef412
commit 417112c586
5 changed files with 3 additions and 7 deletions

View File

@ -66,8 +66,7 @@
<h3>Execute the examples</h2> <h3>Execute the examples</h2>
<pre><code class="language-bash">:; go get github.com/hajimehoshi/ebiten <pre><code class="language-bash">:; go get github.com/hajimehoshi/ebiten
:; cd $GOPATH/src/github.com/hajimehoshi/ebiten/examples :; cd $GOPATH/src/github.com/hajimehoshi/ebiten/examples
:; go run -tags example rotate/main.go</code></pre> :; go run rotate/main.go</code></pre>
<p>Note that you need to specify <code>example</code> tag.</p>
<h2 id="getting-started">Getting Started</h2> <h2 id="getting-started">Getting Started</h2>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -98,8 +98,7 @@
<h3>Execute the examples</h2> <h3>Execute the examples</h2>
<pre><code class="language-bash">:; go get github.com/hajimehoshi/ebiten <pre><code class="language-bash">:; go get github.com/hajimehoshi/ebiten
:; cd $GOPATH/src/github.com/hajimehoshi/ebiten/examples :; cd $GOPATH/src/github.com/hajimehoshi/ebiten/examples
:; go run -tags example rotate/main.go</code></pre> :; go run rotate/main.go</code></pre>
<p>Note that you need to specify <code>example</code> tag.</p>
<h2 id="getting-started">Getting Started</h2> <h2 id="getting-started">Getting Started</h2>

View File

@ -2,7 +2,5 @@
```sh ```sh
:; cd $GOPATH/src/github.com/hajimehoshi/ebiten/examples :; cd $GOPATH/src/github.com/hajimehoshi/ebiten/examples
:; go run -tags example rotate/main.go :; go run rotate/main.go
``` ```
Note that you need to specify `example` tag.