Sha256: bfcce852c348f93d91a6bcce958e60cddce8082a8408fbe663472e14f7cd7b7b

Contents?: true

Size: 641 Bytes

Versions: 1

Compression:

Stored size: 641 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

desc "Run test suite (uses bacon gem)"
task :test do
  sh 'bacon lib/amqp.rb'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
arvicco-amqp-0.6.9 Rakefile