Sha256: f8c8d577353f20ab89fb88047a119f10e3383c0c0c6920b18e1607b5580745a1
Contents?: true
Size: 576 Bytes
Versions: 1
Compression:
Stored size: 576 Bytes
Contents
require 'soundcheck/logging' require 'soundcheck/project' class Soundcheck attr_accessor :project attr_accessor :path attr_accessor :options def initialize(path = "spec", options = {}) self.project = Project.new(Dir.pwd) self.path = path self.options = options logger.level = Logger::DEBUG if options[:verbose] logger.debug "Debug logging enabled." end def command_to_run project.frameworks.each do |framework| framework.options = options command = framework.command(*path) return command if command end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
soundcheck-0.2.2 | lib/soundcheck.rb |