Sha256: e9ca5f6c1215912f24a9dee17dff5a98dcd5af01710d2c4f8f3064bbd9237858

Contents?: true

Size: 500 Bytes

Versions: 1

Compression:

Stored size: 500 Bytes

Contents

recipe :ignore
ignore(/(^tmp|\.DS_Store)$/)

process do |files|
  if files.delete('stories.txt')
    system "./bin/saga planning stories.txt"
  end
end

recipe :ruby
process do |files|
  Ruby.run_tests(files.take_and_map do |file|
    case file
    when %r{^lib/(.+)\.rb$}
      "test/#{$1.gsub('/', '_')}_spec.rb"
    when %r{^templates}
      "test/saga_formatter_spec.rb"
    when %r{^test/(.+)_spec\.rb$}
      file
    when %r{^test/cases}
      "test/saga_tokenizer_spec.rb"
    end
  end)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
saga-0.5.1 .kick