Sha256: 981fbc9d4fde2ab3176146f14a79075cddce2ffdcfec86c533a5028b19188897

Contents?: true

Size: 315 Bytes

Versions: 4

Compression:

Stored size: 315 Bytes

Contents

require File.dirname(__FILE__)+'/../lib/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

4 entries across 4 versions & 1 rubygems

Version Path
sinsiliux-hornsby-0.1.0 tasks/hornsby_tasks.rake
sinsiliux-hornsby-0.2.0 lib/tasks/hornsby_tasks.rake
sinsiliux-hornsby-0.2.1 lib/tasks/hornsby_tasks.rake
sinsiliux-hornsby-0.2.2 lib/tasks/hornsby_tasks.rake