Sha256: 2b59282c9f390ffd6cc8a0b9cd71a60a6f04ffa058d18e47749f66508c40875f
Contents?: true
Size: 357 Bytes
Versions: 12
Compression:
Stored size: 357 Bytes
Contents
#!/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
Version data entries
12 entries across 12 versions & 1 rubygems