mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
main/ruby-prime: run tests without rake
To avoid unnecessary dependency on ruby-rake.
This commit is contained in:
parent
ba6ed08f19
commit
4ee6a62dd9
1 changed files with 2 additions and 4 deletions
|
@ -12,7 +12,6 @@ arch="noarch"
|
||||||
license="BSD-2-Clause AND Ruby"
|
license="BSD-2-Clause AND Ruby"
|
||||||
depends="ruby"
|
depends="ruby"
|
||||||
checkdepends="
|
checkdepends="
|
||||||
ruby-rake
|
|
||||||
ruby-rbs
|
ruby-rbs
|
||||||
ruby-test-unit
|
ruby-test-unit
|
||||||
ruby-test-unit-ruby-core
|
ruby-test-unit-ruby-core
|
||||||
|
@ -25,8 +24,6 @@ builddir="$srcdir/$_gemname-$pkgver"
|
||||||
prepare() {
|
prepare() {
|
||||||
default_prepare
|
default_prepare
|
||||||
|
|
||||||
sed -i '/require .bundler/d' Rakefile
|
|
||||||
|
|
||||||
# This test is broken, it works only if "prime" is installed in /.
|
# This test is broken, it works only if "prime" is installed in /.
|
||||||
# (Cannot find type definitions for library prime)
|
# (Cannot find type definitions for library prime)
|
||||||
rm test/test_rbs.rb
|
rm test/test_rbs.rb
|
||||||
|
@ -37,7 +34,8 @@ build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
rake test
|
ruby -I lib -I test/lib -r helper \
|
||||||
|
-e "Dir.glob('./test/**/test_*.rb', &method(:require))" -- --verbose
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue