detached 17c20f8

all: fix build tags to keep alphabetical order (#156)

commit
17c20f8de20b0ea78a76d90c57624ea8f75cf861
author
Hajime Hoshi · · 2023-08-25 00:00 UTC
committer
GitHub · · 2023-08-25 00:00 UTC
parent
e5b87e9
signature
GPG Unverified4AEE18F83AFDEB23 The key is unknown
21 files · +22 -22
M cgo.go +1 -1
@@ -1,7 +1,7 @@
11 // SPDX-License-Identifier: Apache-2.0
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
4-//go:build cgo && (darwin || linux || freebsd)
4+//go:build cgo && (darwin || freebsd || linux)
55
66 package purego
77
@@ -1,7 +1,7 @@
1 // SPDX-License-Identifier: Apache-2.01 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4-//go:build cgo && (darwin || linux || freebsd)4+//go:build cgo && (darwin || freebsd || linux)
5 5
6 package purego6 package purego
7 7
M dlerror.go +1 -1
@@ -1,7 +1,7 @@
11 // SPDX-License-Identifier: Apache-2.0
22 // SPDX-FileCopyrightText: 2023 The Ebitengine Authors
33
4-//go:build darwin || linux || freebsd
4+//go:build darwin || freebsd || linux
55
66 package purego
77
@@ -1,7 +1,7 @@
1 // SPDX-License-Identifier: Apache-2.01 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: 2023 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2023 The Ebitengine Authors
3 3
4-//go:build darwin || linux || freebsd4+//go:build darwin || freebsd || linux
5 5
6 package purego6 package purego
7 7
M dlfcn.go +1 -1
@@ -1,7 +1,7 @@
11 // SPDX-License-Identifier: Apache-2.0
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
4-//go:build darwin || linux || freebsd
4+//go:build darwin || freebsd || linux
55
66 package purego
77
@@ -1,7 +1,7 @@
1 // SPDX-License-Identifier: Apache-2.01 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4-//go:build darwin || linux || freebsd4+//go:build darwin || freebsd || linux
5 5
6 package purego6 package purego
7 7
M dlfcn_test.go +1 -1
@@ -1,7 +1,7 @@
11 // SPDX-License-Identifier: Apache-2.0
22 // SPDX-FileCopyrightText: 2023 The Ebitengine Authors
33
4-//go:build darwin || linux || freebsd
4+//go:build darwin || freebsd || linux
55
66 package purego_test
77
@@ -1,7 +1,7 @@
1 // SPDX-License-Identifier: Apache-2.01 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: 2023 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2023 The Ebitengine Authors
3 3
4-//go:build darwin || linux || freebsd4+//go:build darwin || freebsd || linux
5 5
6 package purego_test6 package purego_test
7 7
M examples/libc/main.go +1 -1
@@ -1,7 +1,7 @@
11 // SPDX-License-Identifier: Apache-2.0
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
4-//go:build darwin || linux || windows || freebsd
4+//go:build darwin || freebsd || linux || windows
55
66 package main
77
@@ -1,7 +1,7 @@
1 // SPDX-License-Identifier: Apache-2.01 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4-//go:build darwin || linux || windows || freebsd4+//go:build darwin || freebsd || linux || windows
5 5
6 package main6 package main
7 7
M examples/libc/main_unix.go +1 -1
@@ -1,7 +1,7 @@
11 // SPDX-License-Identifier: Apache-2.0
22 // SPDX-FileCopyrightText: 2023 The Ebitengine Authors
33
4-//go:build darwin || linux || freebsd
4+//go:build darwin || freebsd || linux
55
66 package main
77
@@ -1,7 +1,7 @@
1 // SPDX-License-Identifier: Apache-2.01 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: 2023 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2023 The Ebitengine Authors
3 3
4-//go:build darwin || linux || freebsd4+//go:build darwin || freebsd || linux
5 5
6 package main6 package main
7 7
M func.go +1 -1
@@ -1,7 +1,7 @@
11 // SPDX-License-Identifier: Apache-2.0
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
4-//go:build darwin || linux || windows || freebsd
4+//go:build darwin || freebsd || linux || windows
55
66 package purego
77
@@ -1,7 +1,7 @@
1 // SPDX-License-Identifier: Apache-2.01 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4-//go:build darwin || linux || windows || freebsd4+//go:build darwin || freebsd || linux || windows
5 5
6 package purego6 package purego
7 7
M go_runtime.go +1 -1
@@ -1,7 +1,7 @@
11 // SPDX-License-Identifier: Apache-2.0
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
4-//go:build darwin || linux || windows || freebsd
4+//go:build darwin || freebsd || linux || windows
55
66 package purego
77
@@ -1,7 +1,7 @@
1 // SPDX-License-Identifier: Apache-2.01 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4-//go:build darwin || linux || windows || freebsd4+//go:build darwin || freebsd || linux || windows
5 5
6 package purego6 package purego
7 7
M internal/cgo/syscall_cgo_unix.go +1 -1
@@ -1,7 +1,7 @@
11 // SPDX-License-Identifier: Apache-2.0
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
4-//go:build linux || freebsd
4+//go:build freebsd || linux
55
66 package cgo
77
@@ -1,7 +1,7 @@
1 // SPDX-License-Identifier: Apache-2.01 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4-//go:build linux || freebsd4+//go:build freebsd || linux
5 5
6 package cgo6 package cgo
7 7
M internal/fakecgo/callbacks.go +1 -1
@@ -2,7 +2,7 @@
22 // Use of this source code is governed by a BSD-style
33 // license that can be found in the LICENSE file.
44
5-//go:build darwin || linux || freebsd
5+//go:build darwin || freebsd || linux
66
77 package fakecgo
88
@@ -2,7 +2,7 @@
2 // Use of this source code is governed by a BSD-style2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.3 // license that can be found in the LICENSE file.
4 4
5-//go:build darwin || linux || freebsd5+//go:build darwin || freebsd || linux
6 6
7 package fakecgo7 package fakecgo
8 8
M internal/fakecgo/gen.go +2 -2
@@ -20,7 +20,7 @@ const templateSymbols = `// Code generated by 'go generate' with gen.go. DO NOT
2020 // SPDX-License-Identifier: Apache-2.0
2121 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
2222
23-//go:build darwin || linux || freebsd
23+//go:build darwin || freebsd || linux
2424
2525 package fakecgo
2626
@@ -88,7 +88,7 @@ const templateTrampolinesStubs = `// Code generated by 'go generate' with gen.go
8888 // SPDX-License-Identifier: Apache-2.0
8989 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
9090
91-//go:build darwin || linux || freebsd
91+//go:build darwin || freebsd || linux
9292
9393 #include "textflag.h"
9494
@@ -20,7 +20,7 @@ const templateSymbols = `// Code generated by 'go generate' with gen.go. DO NOT
20 // SPDX-License-Identifier: Apache-2.020 // SPDX-License-Identifier: Apache-2.0
21 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors21 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
22 22
23-//go:build darwin || linux || freebsd23+//go:build darwin || freebsd || linux
24 24
25 package fakecgo25 package fakecgo
26 26
@@ -88,7 +88,7 @@ const templateTrampolinesStubs = `// Code generated by 'go generate' with gen.go
88 // SPDX-License-Identifier: Apache-2.088 // SPDX-License-Identifier: Apache-2.0
89 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors89 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
90 90
91-//go:build darwin || linux || freebsd91+//go:build darwin || freebsd || linux
92 92
93 #include "textflag.h"93 #include "textflag.h"
94 94
M internal/fakecgo/go_libinit.go +1 -1
@@ -1,7 +1,7 @@
11 // SPDX-License-Identifier: Apache-2.0
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
4-//go:build darwin || linux || freebsd
4+//go:build darwin || freebsd || linux
55
66 package fakecgo
77
@@ -1,7 +1,7 @@
1 // SPDX-License-Identifier: Apache-2.01 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4-//go:build darwin || linux || freebsd4+//go:build darwin || freebsd || linux
5 5
6 package fakecgo6 package fakecgo
7 7
M internal/fakecgo/go_setenv.go +1 -1
@@ -1,7 +1,7 @@
11 // SPDX-License-Identifier: Apache-2.0
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
4-//go:build darwin || linux || freebsd
4+//go:build darwin || freebsd || linux
55
66 package fakecgo
77
@@ -1,7 +1,7 @@
1 // SPDX-License-Identifier: Apache-2.01 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4-//go:build darwin || linux || freebsd4+//go:build darwin || freebsd || linux
5 5
6 package fakecgo6 package fakecgo
7 7
M internal/fakecgo/go_util.go +1 -1
@@ -1,7 +1,7 @@
11 // SPDX-License-Identifier: Apache-2.0
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
4-//go:build darwin || linux || freebsd
4+//go:build darwin || freebsd || linux
55
66 package fakecgo
77
@@ -1,7 +1,7 @@
1 // SPDX-License-Identifier: Apache-2.01 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4-//go:build darwin || linux || freebsd4+//go:build darwin || freebsd || linux
5 5
6 package fakecgo6 package fakecgo
7 7
M internal/fakecgo/iscgo.go +1 -1
@@ -2,7 +2,7 @@
22 // Use of this source code is governed by a BSD-style
33 // license that can be found in the LICENSE file.
44
5-//go:build darwin || linux || freebsd
5+//go:build darwin || freebsd || linux
66
77 // The runtime package contains an uninitialized definition
88 // for runtime·iscgo. Override it to tell the runtime we're here.
@@ -2,7 +2,7 @@
2 // Use of this source code is governed by a BSD-style2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.3 // license that can be found in the LICENSE file.
4 4
5-//go:build darwin || linux || freebsd5+//go:build darwin || freebsd || linux
6 6
7 // The runtime package contains an uninitialized definition7 // The runtime package contains an uninitialized definition
8 // for runtime·iscgo. Override it to tell the runtime we're here.8 // for runtime·iscgo. Override it to tell the runtime we're here.
M internal/fakecgo/libcgo.go +1 -1
@@ -1,7 +1,7 @@
11 // SPDX-License-Identifier: Apache-2.0
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
4-//go:build darwin || linux || freebsd
4+//go:build darwin || freebsd || linux
55
66 package fakecgo
77
@@ -1,7 +1,7 @@
1 // SPDX-License-Identifier: Apache-2.01 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4-//go:build darwin || linux || freebsd4+//go:build darwin || freebsd || linux
5 5
6 package fakecgo6 package fakecgo
7 7
M internal/fakecgo/setenv.go +1 -1
@@ -2,7 +2,7 @@
22 // Use of this source code is governed by a BSD-style
33 // license that can be found in the LICENSE file.
44
5-//go:build darwin || linux || freebsd
5+//go:build darwin || freebsd || linux
66
77 package fakecgo
88
@@ -2,7 +2,7 @@
2 // Use of this source code is governed by a BSD-style2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.3 // license that can be found in the LICENSE file.
4 4
5-//go:build darwin || linux || freebsd5+//go:build darwin || freebsd || linux
6 6
7 package fakecgo7 package fakecgo
8 8
M internal/fakecgo/symbols.go +1 -1
@@ -3,7 +3,7 @@
33 // SPDX-License-Identifier: Apache-2.0
44 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
55
6-//go:build darwin || linux || freebsd
6+//go:build darwin || freebsd || linux
77
88 package fakecgo
99
@@ -3,7 +3,7 @@
3 // SPDX-License-Identifier: Apache-2.03 // SPDX-License-Identifier: Apache-2.0
4 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors4 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
5 5
6-//go:build darwin || linux || freebsd6+//go:build darwin || freebsd || linux
7 7
8 package fakecgo8 package fakecgo
9 9
M internal/fakecgo/trampolines_stubs.s +1 -1
@@ -3,7 +3,7 @@
33 // SPDX-License-Identifier: Apache-2.0
44 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
55
6-//go:build darwin || linux || freebsd
6+//go:build darwin || freebsd || linux
77
88 #include "textflag.h"
99
@@ -3,7 +3,7 @@
3 // SPDX-License-Identifier: Apache-2.03 // SPDX-License-Identifier: Apache-2.0
4 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors4 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
5 5
6-//go:build darwin || linux || freebsd6+//go:build darwin || freebsd || linux
7 7
8 #include "textflag.h"8 #include "textflag.h"
9 9
M nocgo.go +1 -1
@@ -1,7 +1,7 @@
11 // SPDX-License-Identifier: Apache-2.0
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
4-//go:build !cgo && (darwin || linux || freebsd)
4+//go:build !cgo && (darwin || freebsd || linux)
55
66 package purego
77
@@ -1,7 +1,7 @@
1 // SPDX-License-Identifier: Apache-2.01 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4-//go:build !cgo && (darwin || linux || freebsd)4+//go:build !cgo && (darwin || freebsd || linux)
5 5
6 package purego6 package purego
7 7
M syscall.go +1 -1
@@ -1,7 +1,7 @@
11 // SPDX-License-Identifier: Apache-2.0
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
4-//go:build darwin || windows || linux || freebsd
4+//go:build darwin || freebsd || linux || windows
55
66 package purego
77
@@ -1,7 +1,7 @@
1 // SPDX-License-Identifier: Apache-2.01 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4-//go:build darwin || windows || linux || freebsd4+//go:build darwin || freebsd || linux || windows
5 5
6 package purego6 package purego
7 7

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 102

↑↓ moveenter openesc close