mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
doc: Update install command
This commit is contained in:
parent
8219c56dd8
commit
fb18ad0bf7
@ -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>
|
||||
|
||||
<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
|
||||
:; go run -tags=example rotate/main.go</code></pre>
|
||||
<p>Note that you need to add <code>-tags=example</code> to run examples.</p>
|
||||
|
@ -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>
|
||||
|
||||
<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
|
||||
:; go run -tags=example rotate/main.go</code></pre>
|
||||
<p>Note that you need to add <code>-tags=example</code> to run examples.</p>
|
||||
|
Loading…
Reference in New Issue
Block a user