Method: Buildr::Scala::Specs2#initialize
- Defined in:
- lib/buildr/scala/bdd.rb
#initialize(task, options) ⇒ Specs2
:nodoc:
125 126 127 128 129 130 131 132 133 |
# File 'lib/buildr/scala/bdd.rb', line 125 def initialize(task, ) #:nodoc: super specs = task.project.path_to(:source, :spec, :scala) task.compile.from specs if File.directory?(specs) resources = task.project.path_to(:source, :spec, :resources) task.resources.from resources if File.directory?(resources) end |