File: ruby-tests

package info (click to toggle)
ruby-socksify 1.7.1%2Bgh-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 148 kB
  • sloc: ruby: 618; sh: 10; makefile: 3
file content (15 lines) | stat: -rwxr-xr-x 302 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -x
mv lib .gem2deb.lib

if [ -f /usr/bin/ruby2.5 ]; then
  RUBYLIB=. /usr/bin/ruby2.5 --verbose -S rake -f ./debian/tests/ruby-tests.rake
fi

if [ -f /usr/bin/ruby2.7 ]; then
  RUBYLIB=. /usr/bin/ruby2.7 --verbose -S rake -f ./debian/tests/ruby-tests.rake
fi

mv .gem2deb.lib lib
set +x