Sha256: 8ab9b4de30d46603de6138dbcbc6240953c6b3ebc7f0b69ab9e5d5549f0efa00

Contents?: true

Size: 312 Bytes

Versions: 7

Compression:

Stored size: 312 Bytes

Contents

require File.dirname(__FILE__)+'/../hornsby'

namespace :hornsby do

  desc "Load the scenario named in the env var SCENARIO"
  task :scenario => :environment do
    raise "set SCENARIO to define which scenario to load" unless ENV['SCENARIO']
    ::Hornsby.load
    ::Hornsby.build(ENV['SCENARIO'])
  end
  
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
sinsiliux-hornsby-0.2.3 lib/tasks/hornsby_tasks.rake
sinsiliux-hornsby-0.2.4 lib/tasks/hornsby_tasks.rake
sinsiliux-hornsby-0.2.5 lib/tasks/hornsby_tasks.rake
sinsiliux-hornsby-0.3.0 lib/tasks/hornsby_tasks.rake
sinsiliux-hornsby-0.4.0 lib/tasks/hornsby_tasks.rake
sinsiliux-hornsby-0.4.1 lib/tasks/hornsby_tasks.rake
hornsby-0.4.2 lib/tasks/hornsby_tasks.rake