Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 19 lines (15 sloc) 0.357 kb
#!/usr/bin/env ruby
# encoding: utf-8
def sh(*args)
system(*args)
end
spec = "vendor/rabbitmq-codegen/amqp-rabbitmq-0.9.1.json"
unless File.exist?(spec)
sh "git submodule update --init"
end
path = "lib/amq/protocol/client.rb"
sh "./codegen.py client #{spec} #{path}"
if File.file?(path)
sh "./post-processing.rb #{path}"
sh "ruby -c #{path}"
end
Jump to Line
Something went wrong with that request. Please try again.