#!/usr/bin/env ruby # # Run this script to generate code for the C++ broker. # $: << ".." # Include .. in load path if ARGV.size < 2 puts "Usage: " puts "Note: passing '-' as the output directory lists generated files." exit 1 end require 'amqpgen' Amqp=AmqpRoot.new(*ARGV[1,ARGV.size]) require 'Proxy.rb' require 'Operations.rb'