Sha256: 92b9f4de9c6c0c9f5dcd10278c2d172e8ca5f37a0921f8cf94727a996d6789d0
Contents?: true
Size: 638 Bytes
Versions: 63
Compression:
Stored size: 638 Bytes
Contents
#!/usr/bin/env ruby require 'pathname' source_path = (Pathname.new(__FILE__).dirname + '../lib').expand_path $LOAD_PATH << source_path require 'suspenders' if ARGV.empty? puts "Please provide a path for the new application" puts puts "See --help for more info" exit 0 elsif ['-v', '--version'].include? ARGV[0] puts Suspenders::VERSION exit 0 end templates_root = File.expand_path(File.join("..", "templates"), File.dirname(__FILE__)) Suspenders::AppGenerator.source_root templates_root Suspenders::AppGenerator.source_paths << Rails::Generators::AppGenerator.source_root << templates_root Suspenders::AppGenerator.start
Version data entries
63 entries across 63 versions & 5 rubygems