Sha256: b489036f618926342d136bb2c8d55ee02608b9c7749294000a127e865e2ae568

Contents?: true

Size: 829 Bytes

Versions: 7

Compression:

Stored size: 829 Bytes

Contents

#!/usr/bin/env ruby

root = File.expand_path('../../lib', __FILE__)
$LOAD_PATH.unshift(root) unless $LOAD_PATH.include?(root)

require 'welaika_suspenders/generators/app_generator'
require 'welaika_suspenders/actions'
require 'welaika_suspenders/app_builder'
require 'welaika_suspenders/version_check'

if ['create', '--create'].include? ARGV[0]
  ARGV.shift
  puts "[WARNING] the welaika-suspenders create argument is deprecated. Just use `suspenders #{ARGV.join}` instead"
end

templates_root = File.expand_path(File.join("..", "templates"), File.dirname(__FILE__))
WelaikaSuspenders::AppGenerator.source_root templates_root
WelaikaSuspenders::AppGenerator.source_paths << Rails::Generators::AppGenerator.source_root << templates_root

WelaikaSuspenders::VersionCheck.check_if_up_to_date!
WelaikaSuspenders::AppGenerator.start

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
welaika-suspenders-1.4.0 bin/welaika-suspenders
welaika-suspenders-1.2.10 bin/welaika-suspenders
welaika-suspenders-1.2.9 bin/welaika-suspenders
welaika-suspenders-1.2.8 bin/welaika-suspenders
welaika-suspenders-1.2.7 bin/welaika-suspenders
welaika-suspenders-1.2.6 bin/welaika-suspenders
welaika-suspenders-1.2.5 bin/welaika-suspenders