lib/jbundler.rb in jbundler-0.5.4 vs lib/jbundler.rb in jbundler-0.5.5
- old
+ new
@@ -22,9 +22,19 @@
require 'jbundler/classpath_file'
require 'jbundler/vendor'
require 'jbundler/gemfile_lock'
require 'jbundler/aether'
+module JBundler
+
+ def setup_test
+ config = JBundler::Config.new
+ JBundler::ClasspathFile.new(config.classpath_file).require_test_classpath
+ config
+ end
+
+end
+
config = JBundler::Config.new
jarfile = Maven::Tools::Jarfile.new(config.jarfile)
if config.skip
warn "skip jbundler setup"