Sha256: e799bd213df9574ee58c061a577a7547bcde67e8374d897e19ca3721329fc1cd
Contents?: true
Size: 576 Bytes
Versions: 3
Compression:
Stored size: 576 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 files = ['**/*_spec.rb*', '**/*_test.rb*', '**/test_*.rb*'].map do |d| Dir[d]. select { |f| File.file?(f) }. map { |x| File.expand_path(x) } end.flatten StartingBlocks::Runner.new(options).run_files files end if ARGV.include? '--watch' StartingBlocks::Watcher.start_watching Dir, options else run_all_specs options end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
starting_blocks-0.0.20 | bin/sb |
starting_blocks-0.0.19 | bin/sb |
starting_blocks-0.0.18 | bin/sb |