mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
doc: No need to specify 'example' tag when 'go run'
This commit is contained in:
parent
d08beef412
commit
417112c586
@ -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 |
@ -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>
|
||||||
|
|
||||||
|
@ -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.
|
|
Loading…
Reference in New Issue
Block a user