sam / doubleshot

Build and Dependency Management for mixed Java/Ruby projects.
MIT License
19 stars 22 forks source link

Define Configuration Block for Doubleshot file #12

Closed sam closed 12 years ago

sam commented 12 years ago

Similar in purpose to a GemSpecification block:

Doubleshot.new do |config|
  config.source.ruby = "lib"
  config.source.java = "lib/java"
  config.build.test = "minitest"
end
sam commented 12 years ago

This was resolved. Right now we only support Minitest.

The test locations are actually off of Doubleshot::Configuration::SourceLocations#tests. So:

Doubleshot.new do |config|
  config.source.ruby = "lib"
  config.source.java = "lib/java"
  config.source.tests = "tests"
end