dev-go/go-critic - 9999 (robertgzr)

Search

Install

Install this version:

emerge -a =dev-go/go-critic-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-go/go-critic-9999

Or alternatively:

emerge --autounmask-write -a =dev-go/go-critic-9999

Package Information

Description:
the most opinionated Go source code linter
Homepage:
https://github.com/go-critic/go-critic
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
9999 8 0
View Raw Ebuild
# Copyright 2020-2024 Robert Günzler
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go

DESCRIPTION="the most opinionated Go source code linter"
HOMEPAGE="https://github.com/go-critic/go-critic"

inherit git-r3
EGIT_REPO_URI="https://github.com/go-critic/go-critic.git"

RESTRICT="network-sandbox strip"
LICENSE="MIT"
SLOT="0"
IUSE=""

src_compile() {
	emake build-release GOCRITIC_VERSION="${PV}-$(git-r3_peek_remote_ref)"
}

src_install() {
	dobin bin/gocritic
}

Inherited Eclasses

go