mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
examples: Remove build tags from sub-packages
This commit is contained in:
parent
420c4306d0
commit
0ad12e65df
@ -39,7 +39,6 @@ script:
|
||||
- test -z $(gofmt -s -l $GOPATH/src/github.com/hajimehoshi/ebiten)
|
||||
- go build -tags example -v github.com/hajimehoshi/ebiten/examples/...
|
||||
- go test -v github.com/hajimehoshi/ebiten/...
|
||||
- go test -tags=example -v github.com/hajimehoshi/ebiten/examples/...
|
||||
- gopherjs build --tags example -v github.com/hajimehoshi/ebiten/examples/blocks
|
||||
|
||||
# Looks like testing GL on node is hard.
|
||||
|
@ -12,8 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build example
|
||||
|
||||
package twenty48
|
||||
|
||||
import (
|
||||
|
@ -12,8 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build example
|
||||
|
||||
package twenty48
|
||||
|
||||
import (
|
||||
|
@ -12,8 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build example
|
||||
|
||||
package twenty48
|
||||
|
||||
import (
|
||||
|
@ -12,8 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build example
|
||||
|
||||
package twenty48
|
||||
|
||||
import (
|
||||
|
@ -12,8 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build example
|
||||
|
||||
package twenty48
|
||||
|
||||
import (
|
||||
|
@ -12,8 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build example
|
||||
|
||||
package twenty48_test
|
||||
|
||||
import (
|
||||
|
@ -12,8 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build example
|
||||
|
||||
package blocks
|
||||
|
||||
import (
|
||||
|
@ -12,8 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build example
|
||||
|
||||
package blocks
|
||||
|
||||
import (
|
||||
|
@ -12,8 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build example
|
||||
|
||||
package blocks
|
||||
|
||||
import (
|
||||
|
@ -12,8 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build example
|
||||
|
||||
package blocks
|
||||
|
||||
import (
|
||||
|
@ -12,8 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build example
|
||||
|
||||
package blocks
|
||||
|
||||
import (
|
||||
|
@ -12,8 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build example
|
||||
|
||||
package blocks
|
||||
|
||||
import (
|
||||
|
@ -12,8 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build example
|
||||
|
||||
package blocks
|
||||
|
||||
import (
|
||||
|
@ -12,8 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build example
|
||||
|
||||
package blocks
|
||||
|
||||
import (
|
||||
|
@ -12,8 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build example
|
||||
|
||||
package blocks
|
||||
|
||||
import (
|
||||
|
@ -12,8 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build example
|
||||
|
||||
package blocks
|
||||
|
||||
import (
|
||||
|
@ -202,8 +202,6 @@ const keyRectTmpl = `{{.License}}
|
||||
|
||||
// Code generated by gen.go using 'go generate'. DO NOT EDIT.
|
||||
|
||||
{{.BuildTags}}
|
||||
|
||||
package keyboard
|
||||
|
||||
import (
|
||||
@ -239,7 +237,6 @@ func outputKeyRectsGo(k map[string]image.Rectangle) error {
|
||||
return err
|
||||
}
|
||||
return tmpl.Execute(f, map[string]interface{}{
|
||||
"BuildTags": "// +build example",
|
||||
"License": license,
|
||||
"KeyRectsMap": k,
|
||||
})
|
||||
|
@ -14,8 +14,6 @@
|
||||
|
||||
// Code generated by gen.go using 'go generate'. DO NOT EDIT.
|
||||
|
||||
// +build example
|
||||
|
||||
package keyboard
|
||||
|
||||
import (
|
||||
|
Loading…
Reference in New Issue
Block a user