blob: e06d128707735b8d2e7866a798d3143cf063ea35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/usr/bin/env ruby
#
# Run this script to generate code for the C++ broker.
#
$: << ".." # Include .. in load path
if ARGV.size < 2
puts "Usage: <output_directory> <amqp .xml files...>"
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'
|