mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +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"
|
||||
depends="ruby"
|
||||
checkdepends="
|
||||
ruby-rake
|
||||
ruby-rbs
|
||||
ruby-test-unit
|
||||
ruby-test-unit-ruby-core
|
||||
|
@ -25,8 +24,6 @@ builddir="$srcdir/$_gemname-$pkgver"
|
|||
prepare() {
|
||||
default_prepare
|
||||
|
||||
sed -i '/require .bundler/d' Rakefile
|
||||
|
||||
# This test is broken, it works only if "prime" is installed in /.
|
||||
# (Cannot find type definitions for library prime)
|
||||
rm test/test_rbs.rb
|
||||
|
@ -37,7 +34,8 @@ build() {
|
|||
}
|
||||
|
||||
check() {
|
||||
rake test
|
||||
ruby -I lib -I test/lib -r helper \
|
||||
-e "Dir.glob('./test/**/test_*.rb', &method(:require))" -- --verbose
|
||||
}
|
||||
|
||||
package() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue