Sha256: 81e6dd919e3d70178ec03d1be4a5381be2296bae6e5400dda9a0828e449a693f

Contents?: true

Size: 467 Bytes

Versions: 2

Compression:

Stored size: 467 Bytes

Contents

require 'shenandoah/locator'

module Shenandoah # :nodoc:
  module Buildr # :nodoc:
    class Locator < DefaultLocator
      def initialize(project)
        super(
          :main_path => project.test.options[:main_path] ||
                        project.path_to(:source, :main, :javascript),
          :spec_path => project.path_to(:source, :spec, :javascript),
          :tmp_path => project.path_to(:target, :shenandoah)
        )
      end
    end
  end
end
    

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shenandoah-0.2.0 lib/shenandoah/buildr/locator.rb
shenandoah-0.1.3 lib/shenandoah/buildr/locator.rb