Sha256: d64104b8ee8a2ebb13c432b420bbdbe4d85db7240a964a0230453a7813fd257d

Contents?: true

Size: 562 Bytes

Versions: 9

Compression:

Stored size: 562 Bytes

Contents

lib = File.expand_path("../../..", __FILE__)
root = File.expand_path("../../..")

$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

require "rake"
require "yaml"
require "colorize"
require "rambo"

module Rambo
  module Rake
    class Task
      include ::Rake::DSL

      def initialize
        define_task
      end

      private

      def define_task
        desc "Generate contract tests"
        task :rambo do
          Rambo.generate_contract_tests!

          puts "Done generating contract tests.".green
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rambo_ruby-0.7.1 lib/rambo/rake/task.rb
rambo_ruby-0.7.0 lib/rambo/rake/task.rb
rambo_ruby-0.6.0 lib/rambo/rake/task.rb
rambo_ruby-0.5.0 lib/rambo/rake/task.rb
rambo_ruby-0.4.0 lib/rambo/rake/task.rb
rambo_ruby-0.3.3 lib/rambo/rake/task.rb
rambo_ruby-0.3.2 lib/rambo/rake/task.rb
rambo_ruby-0.3.1 lib/rambo/rake/task.rb
rambo_ruby-0.3.0 lib/rambo/rake/task.rb