Sha256: 81fb6e98a7d9e51edf5db8f922a8689aa2cbf98e462b14ab5e6258b0d1dd2bdf

Contents?: true

Size: 564 Bytes

Versions: 1

Compression:

Stored size: 564 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 = 'ivanvanderbyl-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

1 entries across 1 versions & 1 rubygems

Version Path
ivanvanderbyl-amqp-0.6.13.1 Rakefile