Sha256: a1368289dba5165ef677eb05628ce144c20b8880fdd29092a1d5230097acd477
Contents?: true
Size: 505 Bytes
Versions: 10
Compression:
Stored size: 505 Bytes
Contents
#!/usr/bin/env ruby require File.expand_path(File.dirname(__FILE__) + '/../lib/starting_blocks.rb') options = {} def display value end if ARGV.include? '--verbose' options[:verbose] = true end def run_all_specs options specs = Dir['**/*_spec.rb*']. select { |f| File.file?(f) }. map { |x| File.expand_path(x) } StartingBlocks::Runner.new(options).run_files specs end if ARGV.include? '--watch' StartingBlocks::Watcher.start_watching Dir, options else run_all_specs options end
Version data entries
10 entries across 10 versions & 1 rubygems