Skip to content
This repository
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 21 lines (16 sloc) 0.623 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#!/usr/bin/env ruby

require 'rubygems'
require 'rubigen'

if %w(-v --version).include? ARGV.first
  require 'rbiphonetest/version'
  puts "#{File.basename($0)} #{RbIphoneTest::VERSION::STRING}"
  exit(0)
end

require 'rubigen/scripts/generate'
RubiGen::Base.reset_sources
RubiGen::Base.use_application_sources! :rubygems
RubiGen::Base.prepend_sources(*[
  RubiGen::PathSource.new(:app, File.join(File.dirname(__FILE__), "..", "app_generators")),
  RubiGen::PathSource.new(:app, File.join(File.dirname(__FILE__), "..", "rbiphonetest_generators"))
])

RubiGen::Scripts::Generate.new.run(ARGV, :generator => 'rbiphonetest')
Something went wrong with that request. Please try again.