Sha256: 3e558e5c093707be624c0c2d914e1c029a9558bd36a5225eacf518356887f522

Contents?: true

Size: 558 Bytes

Versions: 3

Compression:

Stored size: 558 Bytes

Contents

require 'rake'
require 'pathname'

BASE_PATH = Pathname.new(__FILE__).dirname
LIB_PATH =  BASE_PATH + 'lib'
PKG_PATH =  BASE_PATH + 'pkg'
DOC_PATH =  BASE_PATH + 'rdoc'

$LOAD_PATH.unshift LIB_PATH.to_s unless $LOAD_PATH.include? LIB_PATH.to_s

require 'amqp/version'

NAME = 'arvicco-amqp'
CLASS_NAME = AMQP
VERSION = CLASS_NAME::VERSION

# Load rakefile tasks
Dir['tasks/*.rake'].sort.each { |file| load file }

desc "Generate AMQP specification classes"
task :codegen do
  sh 'ruby protocol/codegen.rb > lib/amqp/spec.rb'
  sh 'ruby lib/amqp/spec.rb'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
arvicco-amqp-0.6.13 Rakefile
arvicco-amqp-0.6.11 Rakefile
arvicco-amqp-0.6.10 Rakefile