File: setup.rb

package info (click to toggle)
ruby-jar-dependencies 0.5.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,172 kB
  • sloc: ruby: 2,407; sh: 137; xml: 117; java: 20; makefile: 9
file content (17 lines) | stat: -rw-r--r-- 325 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

# single spec setup
$LOAD_PATH.unshift File.join(File.dirname(File.expand_path(__FILE__)), '../lib')

ENV['JARS_HOME'] = nil
require 'jar_dependencies'

p ENV['JARS_LOCAL_MAVEN_REPO'] = Jars.home
Jars.reset

begin
  require 'minitest'
rescue LoadError
  # ignore
end
require 'minitest/autorun'