Update rebar ebuilds and add overlint-cli invocation to Jenkinsfile;

This commit is contained in:
Grigory Antsiferov 2017-02-15 14:54:02 +03:00
parent 9699c86b74
commit a2f351a272
3 changed files with 32 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -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 .'
}
} }

View File

@ -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

View 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
}