Sha256: fec9c5af343fb922f5e8efdc82e1cf58b4317ede26b1ac4437a278cb602363ee

Contents?: true

Size: 677 Bytes

Versions: 1

Compression:

Stored size: 677 Bytes

Contents

#!/usr/bin/env ruby

require 'rubygems'
require 'rubigen'
require 'digest/sha1'

if %w(-v --version).include? ARGV.first
  require File.dirname(__FILE__) + "/../lib/newgem"
  puts "#{File.basename($0)} #{Newgem::VERSION}"
  exit(0)
end

require 'rubigen/scripts/generate'

require "pp"
RubiGen::Base.use_application_sources! :rubygems
RubiGen::Base.prepend_sources(*[ 
  RubiGen::PathSource.new(:app, File.join(File.dirname(__FILE__), "..", "lib/generators"))
])

if ARGV.delete "--twitter"
  RubiGen::Scripts::Generate.new.run(ARGV, :generator => 'twitter', :backtrace => true)
else
  RubiGen::Scripts::Generate.new.run(ARGV, :generator => 'cucumber', :backtrace => true)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
singem-0.0.5 bin/singem