diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-03-26 16:20:16 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-03-26 16:23:15 +0900 |
| commit | 2548a681e9a1e28c52805397edeccf719ec8ab45 (patch) | |
| tree | 06202347c5762d8c1e05e4cc668829e633411d2c /internal/rosa/wayland.go | |
| parent | d514d0679fcd947cd10f7ba9d0418855515c19d5 (diff) | |
internal/rosa: key-value type
This type is used very frequently. The new type is much easier to type and can receive helper methods eventually if needed.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/wayland.go')
| -rw-r--r-- | internal/rosa/wayland.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/rosa/wayland.go b/internal/rosa/wayland.go index 5b7f4545..a529a968 100644 --- a/internal/rosa/wayland.go +++ b/internal/rosa/wayland.go @@ -20,7 +20,7 @@ chmod +w tests tests/sanity-test.c echo 'int main(){}' > tests/sanity-test.c `, }, &MesonHelper{ - Setup: [][2]string{ + Setup: []KV{ {"Ddefault_library", "both"}, {"Ddocumentation", "false"}, {"Dtests", "true"}, @@ -63,7 +63,7 @@ func (t Toolchain) newWaylandProtocols() (pkg.Artifact, string) { mustDecode(checksum), pkg.TarBzip2, ), &PackageAttr{ - Patches: [][2]string{ + Patches: []KV{ {"build-only", `From 8b4c76275fa1b6e0a99a53494151d9a2c907144d Mon Sep 17 00:00:00 2001 From: "A. Wilcox" <AWilcox@Wilcox-Tech.com> Date: Fri, 8 Nov 2024 11:27:25 -0600 |
