doc: Update install command

This commit is contained in:
Hajime Hoshi 2016-10-24 02:17:47 +09:00
parent 8219c56dd8
commit fb18ad0bf7
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@
<p><a href="https://blog.golang.org/go-programming-language-turns-two">The Gopher photographs by Chris Nokleberg</a> are licensed under <a href="https://creativecommons.org/licenses/by/3.0/">the Creative Commons 3.0 Attributions License</a>.</p> <p><a href="https://blog.golang.org/go-programming-language-turns-two">The Gopher photographs by Chris Nokleberg</a> are licensed under <a href="https://creativecommons.org/licenses/by/3.0/">the Creative Commons 3.0 Attributions License</a>.</p>
<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 -tags=example rotate/main.go</code></pre>
<p>Note that you need to add <code>-tags=example</code> to run examples.</p> <p>Note that you need to add <code>-tags=example</code> to run examples.</p>

View File

@ -96,7 +96,7 @@
<p><a href="https://blog.golang.org/go-programming-language-turns-two">The Gopher photographs by Chris Nokleberg</a> are licensed under <a href="https://creativecommons.org/licenses/by/3.0/">the Creative Commons 3.0 Attributions License</a>.</p> <p><a href="https://blog.golang.org/go-programming-language-turns-two">The Gopher photographs by Chris Nokleberg</a> are licensed under <a href="https://creativecommons.org/licenses/by/3.0/">the Creative Commons 3.0 Attributions License</a>.</p>
<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 -tags=example rotate/main.go</code></pre>
<p>Note that you need to add <code>-tags=example</code> to run examples.</p> <p>Note that you need to add <code>-tags=example</code> to run examples.</p>