Sha256: e96c1c7d9a48d2dad8f88bf9ebe3a769e14d3b6bc45bff0f474b6067e8c5984a

Contents?: true

Size: 603 Bytes

Versions: 86

Compression:

Stored size: 603 Bytes

Contents

#!/usr/bin/env ruby
require 'pathname'

source_path = (Pathname.new(__FILE__).dirname + '../lib').expand_path
$LOAD_PATH << source_path

require 'suspenders'

if ['create', '--create'].include? ARGV[0]
  ARGV.shift
  puts "[WARNING] the suspenders create argument is deprecated. Just use `suspenders #{ARGV.join}` instead"
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

86 entries across 86 versions & 8 rubygems

Version Path
suspenders-1.8.0 bin/suspenders
re-rails-0.1.6 bin/re-rails
re-rails-0.1.3 bin/re-rails
re-rails-0.1.2 bin/re-rails
re-rails-0.1.1 bin/re-rails
re-rails-0.1.0 bin/suspenders