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

Version Path
starting_blocks-0.0.17 bin/sb
starting_blocks-0.0.16 bin/sb
starting_blocks-0.0.15 bin/sb
starting_blocks-0.0.14 bin/sb
starting_blocks-0.0.13 bin/sb
starting_blocks-0.0.12 bin/sb
starting_blocks-0.0.11 bin/sb
starting_blocks-0.0.10 bin/sb
starting_blocks-0.0.9 bin/sb
starting_blocks-0.0.8 bin/sb