Sha256: dac15ea0a3728480b6efccfb17dc076ad432ab2092122fde7d727a2e2c6d78d2
Contents?: true
Size: 430 Bytes
Versions: 8
Compression:
Stored size: 430 Bytes
Contents
#!/usr/bin/env ruby # encoding: utf-8 def sh(*args) system(*args) end extensions = [] spec = "codegen/rabbitmq-codegen/amqp-rabbitmq-0.9.1.json" unless File.exist?(spec) sh "git submodule update --init" end path = "lib/amq/protocol/client.rb" puts "Running ./codegen/codegen.py client #{spec} #{path}" sh "./codegen/codegen.py client #{spec} #{extensions.join(' ')} #{path}" if File.file?(path) sh "ruby -c #{path}" end
Version data entries
8 entries across 8 versions & 1 rubygems