Skip to content

Commit

Permalink
all: reorder build tags in an alphabetical order
Browse files Browse the repository at this point in the history
  • Loading branch information
hajimehoshi committed Feb 8, 2022
1 parent 9c8b4db commit 4c6c31e
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 28 deletions.
4 changes: 2 additions & 2 deletions ebitenutil/file_notjs.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build !android && !js && !ios
// +build !android,!js,!ios
//go:build !android && !ios && !js
// +build !android,!ios,!js

package ebitenutil

Expand Down
4 changes: 2 additions & 2 deletions genkeys.go
Original file line number Diff line number Diff line change
Expand Up @@ -817,8 +817,8 @@ func main() {
"\n// +build android ios" +
"\n// +build !ebitencbackend"
case filepath.Join("internal", "ui", "keys_glfw.go"):
buildTag = "//go:build !android && !js && !ios && !ebitencbackend" +
"\n// +build !android,!js,!ios,!ebitencbackend"
buildTag = "//go:build !android && !ios && !js && !ebitencbackend" +
"\n// +build !android,!ios,!js,!ebitencbackend"
}
// NOTE: According to godoc, maps are automatically sorted by key.
if err := tmpl.Execute(f, struct {
Expand Down
4 changes: 2 additions & 2 deletions imagedumper_desktop.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build !android && !js && !ios
// +build !android,!js,!ios
//go:build !android && !ios && !js
// +build !android,!ios,!js

package ebiten

Expand Down
4 changes: 2 additions & 2 deletions imagedumper_notdesktop.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build android || js || ios
// +build android js ios
//go:build android || ios || js
// +build android ios js

package ebiten

Expand Down
4 changes: 2 additions & 2 deletions internal/graphicsdriver/opengl/context_desktop.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build !android && !js && !ios
// +build !android,!js,!ios
//go:build !android && !ios && !js
// +build !android,!ios,!js

package opengl

Expand Down
4 changes: 2 additions & 2 deletions internal/graphicsdriver/opengl/shader_desktop.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build !android && !js && !ios
// +build !android,!js,!ios
//go:build !android && !ios && !js
// +build !android,!ios,!js

package opengl

Expand Down
4 changes: 2 additions & 2 deletions internal/processtest/processtest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build !android && !js && !ios
// +build !android,!js,!ios
//go:build !android && !ios && !js
// +build !android,!ios,!js

package processtest_test

Expand Down
4 changes: 2 additions & 2 deletions internal/ui/input_glfw.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build !android && !js && !ios && !ebitencbackend
// +build !android,!js,!ios,!ebitencbackend
//go:build !android && !ios && !js && !ebitencbackend
// +build !android,!ios,!js,!ebitencbackend

package ui

Expand Down
4 changes: 2 additions & 2 deletions internal/ui/keys_glfw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions internal/ui/run_notsinglethread.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build !android && !js && !ios && !ebitencbackend && !ebitensinglethread
// +build !android,!js,!ios,!ebitencbackend,!ebitensinglethread
//go:build !android && !ios && !js && !ebitencbackend && !ebitensinglethread
// +build !android,!ios,!js,!ebitencbackend,!ebitensinglethread

package ui

Expand Down
4 changes: 2 additions & 2 deletions internal/ui/run_singlethread.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build !android && !js && !ios && !ebitencbackend && ebitensinglethread
// +build !android,!js,!ios,!ebitencbackend,ebitensinglethread
//go:build !android && !ios && !js && !ebitencbackend && ebitensinglethread
// +build !android,!ios,!js,!ebitencbackend,ebitensinglethread

package ui

Expand Down
4 changes: 2 additions & 2 deletions internal/ui/ui_glfw.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build !android && !js && !ios && !ebitencbackend
// +build !android,!js,!ios,!ebitencbackend
//go:build !android && !ios && !js && !ebitencbackend
// +build !android,!ios,!js,!ebitencbackend

package ui

Expand Down
4 changes: 2 additions & 2 deletions internal/ui/window_glfw.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build !android && !js && !ios && !ebitencbackend
// +build !android,!js,!ios,!ebitencbackend
//go:build !android && !ios && !js && !ebitencbackend
// +build !android,!ios,!js,!ebitencbackend

package ui

Expand Down
4 changes: 2 additions & 2 deletions internal/ui/window_null.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build android || js || ios || ebitencbackend
// +build android js ios ebitencbackend
//go:build android || ios || js || ebitencbackend
// +build android ios js ebitencbackend

package ui

Expand Down

0 comments on commit 4c6c31e

Please sign in to comment.