Sha256: cb72539a7cfdb267579846ad1bb5157812922b5e30e510b8fd5130b249cc4063

Contents?: true

Size: 525 Bytes

Versions: 4

Compression:

Stored size: 525 Bytes

Contents

lib = File.expand_path("../../..", __FILE__)
$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

4 entries across 4 versions & 1 rubygems

Version Path
rambo_ruby-0.2.3 lib/rambo/rake/task.rb
rambo_ruby-0.2.2 lib/rambo/rake/task.rb
rambo_ruby-0.2.1 lib/rambo/rake/task.rb
rambo_ruby-0.2.0 lib/rambo/rake/task.rb