mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
go-metalinter: add recipe for gometalinter
A tool that concurrently runs a whole bunch of go linters and normalises their output to a standard format. Useful to build podman. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
467ce521e7
commit
c9316391df
24
recipes-devtools/go/go-metalinter_git.bb
Normal file
24
recipes-devtools/go/go-metalinter_git.bb
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
DESCRIPTION = "Go Meta Linter."
|
||||||
|
HOMEPAGE = "https://github.com/alecthomas/gometalinter"
|
||||||
|
SECTION = "devel/go"
|
||||||
|
LICENSE = "MIT"
|
||||||
|
LIC_FILES_CHKSUM = "file://COPYING;md5=dee20b35647295553d32faef05846a7b"
|
||||||
|
|
||||||
|
BBCLASSEXTEND = "native"
|
||||||
|
|
||||||
|
SRCNAME = "gometalinter"
|
||||||
|
|
||||||
|
PKG_NAME = "github.com/alecthomas/${SRCNAME}"
|
||||||
|
SRC_URI = "git://${PKG_NAME}.git"
|
||||||
|
|
||||||
|
SRCREV = "e8d801238da6f0dfd14078d68f9b53fa50a7eeb5"
|
||||||
|
PV = "0.0+git${SRCPV}"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
install -d ${D}${prefix}/local/go/src/${PKG_NAME}
|
||||||
|
cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
|
||||||
|
}
|
||||||
|
|
||||||
|
FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
|
Loading…
Reference in New Issue
Block a user