mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
dev-ruby/mecab-ruby: add rudimentary test
Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/1457 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -29,6 +29,11 @@ each_ruby_compile() {
|
||||
emake V=1
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# Not a real test but rather a sample program. But it works as a quick smoke test
|
||||
${RUBY} -I.:lib test.rb || die
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user