mirror of
https://github.com/valitydev/gentoo-overlay.git
synced 2024-11-06 01:45:19 +00:00
Update rebar ebuilds and add overlint-cli invocation to Jenkinsfile;
This commit is contained in:
parent
9699c86b74
commit
a2f351a272
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -5,4 +5,7 @@ build('gentoo-overlay', 'gentoo') {
|
|||||||
runStage('RepoMan scours the neighborhood') {
|
runStage('RepoMan scours the neighborhood') {
|
||||||
sh 'repoman -v'
|
sh 'repoman -v'
|
||||||
}
|
}
|
||||||
|
runStage('Overlint') {
|
||||||
|
sh 'overlint-cli .'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -19,7 +19,7 @@ RDEPEND="${DEPEND}"
|
|||||||
S="${WORKDIR}/rebar3-${PV}"
|
S="${WORKDIR}/rebar3-${PV}"
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
./bootstrap
|
./bootstrap || die "Rebar bootstrap failed!"
|
||||||
}
|
}
|
||||||
src_install() {
|
src_install() {
|
||||||
exeinto /usr/bin
|
exeinto /usr/bin
|
||||||
|
28
dev-util/rebar/rebar-3.3.5-r1.ebuild
Normal file
28
dev-util/rebar/rebar-3.3.5-r1.ebuild
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
DESCRIPTION="Erlang build tool that makes it easy to compile and test Erlang applications"
|
||||||
|
HOMEPAGE="http://rebar3.org/"
|
||||||
|
SRC_URI="https://github.com/erlang/rebar3/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="3"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
RESTRICT="mirror"
|
||||||
|
|
||||||
|
DEPEND="<dev-lang/erlang-20"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
S="${WORKDIR}/rebar3-${PV}"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
./bootstrap || die "Rebar bootstrap failed!"
|
||||||
|
}
|
||||||
|
src_install() {
|
||||||
|
exeinto /usr/bin
|
||||||
|
doexe rebar3
|
||||||
|
dodoc README.md
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user