Sha256: 439f9f91d0dea385225e15082331b1b19ef12fc8c0a20b36d68e9ec869a9ce4f
Contents?: true
Size: 513 Bytes
Versions: 15
Compression:
Stored size: 513 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require 'rubigen' if %w(-v --version).include? ARGV.first require File.join(File.dirname(__FILE__), '..', 'lib', 'sinatra-gen') puts "#{File.basename($0)} #{SinatraGen::VERSION}" exit(0) end require 'rubigen/scripts/generate' source = RubiGen::PathSource.new(:application, File.join(File.dirname(__FILE__), "../app_generators")) RubiGen::Base.reset_sources RubiGen::Base.append_sources source RubiGen::Scripts::Generate.new.run(ARGV, :generator => 'sinatra_app')
Version data entries
15 entries across 15 versions & 3 rubygems