Sha256: 296a2bf99b53eee7038da4f05c65c4a2aaff627fb4d532a9f10f0eb6b4c27725
Contents?: true
Size: 481 Bytes
Versions: 4
Compression:
Stored size: 481 Bytes
Contents
module Retest class Command class Rake < Base def to_s if all root_command else "#{root_command} TEST=<test>" end end def format_batch(*files) files.size > 1 ? %Q{"{#{files.join(',')}}"} : files.first end private def root_command if file_system.exist? 'bin/rake' 'bin/rake test' else 'bundle exec rake test' end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
retest-2.0.1 | lib/retest/command/rake.rb |
retest-2.0.0 | lib/retest/command/rake.rb |
retest-2.0.0.pre5 | lib/retest/command/rake.rb |
retest-2.0.0.pre4 | lib/retest/command/rake.rb |