mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-27 11:12:44 +01:00
doc: Bug fix: add build tag 'example'
This commit is contained in:
parent
4a1a8aec11
commit
6857dfd177
@ -294,7 +294,7 @@ func outputExampleContent(e *example) error {
|
|||||||
|
|
||||||
out := filepath.Join(dir, e.Name+".js")
|
out := filepath.Join(dir, e.Name+".js")
|
||||||
path := "github.com/hajimehoshi/ebiten/examples/" + e.Name
|
path := "github.com/hajimehoshi/ebiten/examples/" + e.Name
|
||||||
if err := execute("gopherjs", "build", "-m", "-o", out, path); err != nil {
|
if err := execute("gopherjs", "build", "-tags", "example", "-m", "-o", out, path); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user