From 6857dfd1772d333eca3cb2f4bb1490c13a9c6830 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Fri, 26 Aug 2016 23:33:17 +0900 Subject: [PATCH] doc: Bug fix: add build tag 'example' --- _docs/gen.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_docs/gen.go b/_docs/gen.go index b86d1cfc6..11bb2da6c 100644 --- a/_docs/gen.go +++ b/_docs/gen.go @@ -294,7 +294,7 @@ func outputExampleContent(e *example) error { out := filepath.Join(dir, e.Name+".js") 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 }