Sha256: 5729bc59fbbead9b3868e617bc1dffe9d0f93e42390175da771e7b8eb9094963

Contents?: true

Size: 391 Bytes

Versions: 5

Compression:

Stored size: 391 Bytes

Contents

require 'yaml'
require 'sippy_cup/runner'

namespace :sippy_cup do
  desc "Compile the given scenario"
  task :compile, :scenario do |t, args|
    require File.expand_path(args[:scenario])
  end

  desc "Run the scenario described by the given YAML file"
  task :run, :options_file do |t, args|
  	options = YAML.load_file args[:options_file]
    SippyCup::Runner.new(options).run
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sippy_cup-0.2.3 lib/sippy_cup/tasks.rb
sippy_cup-0.2.2 lib/sippy_cup/tasks.rb
sippy_cup-0.2.1 lib/sippy_cup/tasks.rb
sippy_cup-0.2.0 lib/sippy_cup/tasks.rb
sippy_cup-0.1.1 lib/sippy_cup/tasks.rb