From c1287684411d149949127e50f42c873c80d14af7 Mon Sep 17 00:00:00 2001 From: Massimiliano Giovagnoli Date: Mon, 5 Aug 2024 16:58:55 +0200 Subject: [PATCH] chore: exclude alpm related from build by default Signed-off-by: Massimiliano Giovagnoli --- cmd/list_archlinux.go | 2 ++ pkg/distro/archlinux/archlinux.go | 2 ++ pkg/distro/archlinux/config.go | 2 ++ pkg/distro/archlinux/constants.go | 2 ++ pkg/packages/alpm/alpm.go | 2 ++ pkg/packages/alpm/errors.go | 2 ++ pkg/packages/alpm/search.go | 2 ++ 7 files changed, 14 insertions(+) diff --git a/cmd/list_archlinux.go b/cmd/list_archlinux.go index 682ee5f..2744d60 100644 --- a/cmd/list_archlinux.go +++ b/cmd/list_archlinux.go @@ -1,3 +1,5 @@ +//go:build archlinux + /* Copyright © 2022 maxgio92 diff --git a/pkg/distro/archlinux/archlinux.go b/pkg/distro/archlinux/archlinux.go index b3ff515..80c464d 100644 --- a/pkg/distro/archlinux/archlinux.go +++ b/pkg/distro/archlinux/archlinux.go @@ -1,3 +1,5 @@ +//go:build archlinux + /* Copyright © 2022 maxgio92 diff --git a/pkg/distro/archlinux/config.go b/pkg/distro/archlinux/config.go index 70c15bc..2af1200 100644 --- a/pkg/distro/archlinux/config.go +++ b/pkg/distro/archlinux/config.go @@ -1,3 +1,5 @@ +//go:build archlinux + /* Copyright © 2022 maxgio92 diff --git a/pkg/distro/archlinux/constants.go b/pkg/distro/archlinux/constants.go index 98791e3..68680dc 100644 --- a/pkg/distro/archlinux/constants.go +++ b/pkg/distro/archlinux/constants.go @@ -1,3 +1,5 @@ +//go:build archlinux + /* Copyright © 2022 maxgio92 diff --git a/pkg/packages/alpm/alpm.go b/pkg/packages/alpm/alpm.go index 82d35a2..8d00ab4 100644 --- a/pkg/packages/alpm/alpm.go +++ b/pkg/packages/alpm/alpm.go @@ -1,3 +1,5 @@ +//go:build archlinux + package alpm import ( diff --git a/pkg/packages/alpm/errors.go b/pkg/packages/alpm/errors.go index fec9df1..fb2c9a8 100644 --- a/pkg/packages/alpm/errors.go +++ b/pkg/packages/alpm/errors.go @@ -1,3 +1,5 @@ +//go:build archlinux + package alpm import ( diff --git a/pkg/packages/alpm/search.go b/pkg/packages/alpm/search.go index d1eb304..0124cf9 100644 --- a/pkg/packages/alpm/search.go +++ b/pkg/packages/alpm/search.go @@ -1,3 +1,5 @@ +//go:build archlinux + package alpm import (