Sha256: f931c385945bde901ed851e317f36689990d7b16d8a09715225a4faba522890b

Contents?: true

Size: 761 Bytes

Versions: 9

Compression:

Stored size: 761 Bytes

Contents

#!/usr/bin/env ruby
require 'rubygems' unless defined?(Gem) # Useful only on --dev mode
require 'bundler/setup' if %w(Gemfile .components).all? { |f| File.exist?(f) }

padrino_gen_path = File.expand_path('../../lib', __FILE__)
$:.unshift(padrino_gen_path) if File.directory?(padrino_gen_path) && !$:.include?(padrino_gen_path)

# We try to load the vendored padrino-core if exist (useful also for --dev mode)
padrino_core_path = File.expand_path('../../../padrino-core/lib', __FILE__)
$:.unshift(padrino_core_path) if File.directory?(padrino_core_path) && !$:.include?(padrino_core_path)

require 'padrino-gen'
require 'padrino-gen/generators/cli'

# We need our config boot because we need to load registered generators so:
Padrino::Generators::Cli.start(ARGV)

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
padrino-gen-0.10.6.c bin/padrino-gen
padrino-gen-0.10.6.b bin/padrino-gen
padrino-gen-0.10.6.a bin/padrino-gen
padrino-gen-0.10.5 bin/padrino-gen
padrino-gen-0.10.4 bin/padrino-gen
padrino-gen-0.10.3 bin/padrino-gen
padrino-gen-0.10.2 bin/padrino-gen
padrino-gen-0.10.1 bin/padrino-gen
padrino-gen-0.10.0 bin/padrino-gen