diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-10-07 06:20:30 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-10-07 06:20:30 +0000 |
| commit | ac6999787ec79739d8811bc31b14b4baf31bfbd3 (patch) | |
| tree | a18ad86b3893407bf4854c7004f3bd19ef2c2088 /dev-util/git-bug/git-bug-9999.ebuild | |
| parent | 7197eaf3d967fb403bc29afaa7d7592e60e2c319 (diff) | |
| download | srcux-ac6999787ec79739d8811bc31b14b4baf31bfbd3.tar.gz srcux-ac6999787ec79739d8811bc31b14b4baf31bfbd3.tar.xz srcux-ac6999787ec79739d8811bc31b14b4baf31bfbd3.zip | |
Adding metadata
Diffstat (limited to 'dev-util/git-bug/git-bug-9999.ebuild')
| -rw-r--r-- | dev-util/git-bug/git-bug-9999.ebuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/dev-util/git-bug/git-bug-9999.ebuild b/dev-util/git-bug/git-bug-9999.ebuild index 2dd79e49d8a9..49c411a3e0cd 100644 --- a/dev-util/git-bug/git-bug-9999.ebuild +++ b/dev-util/git-bug/git-bug-9999.ebuild @@ -1,7 +1,7 @@ # Copyright 2020-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit go-module @@ -11,10 +11,8 @@ HOMEPAGE="https://github.com/MichaelMure/git-bug" inherit git-r3 EGIT_REPO_URI="https://github.com/MichaelMure/${PN}" -RESTRICT="network-sandbox" LICENSE="GPL-3" SLOT="0" -IUSE="" KEYWORDS="" src_unpack() { @@ -24,8 +22,8 @@ src_unpack() { } src_compile() { - go generate - go build \ + ego generate + ego build \ -ldflags "-s -w -X github.com/MichealMure/git-bug/commands.GitLastTag=${PV} -X github.com/MichealMure/git-bug/commands.GitExactTag=${PV}" \ -o ${PN} } @@ -33,3 +31,7 @@ src_compile() { src_install() { dobin ${PN} } + +src_test() { + CI=true ego test +} |
