Sha256: 35cef17d7091f57a3955d1b03dc0aef97f4e7b20f3f6a8baa15d0ffe28dbe47d

Contents?: true

Size: 633 Bytes

Versions: 4

Compression:

Stored size: 633 Bytes

Contents

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

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

require 'bulldozer'

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 Bulldozer::VERSION
  exit 0
end

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

Bulldozer::AppGenerator.start

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bulldozer-1.6.3 bin/bulldozer
bulldozer-1.6.2 bin/bulldozer
bulldozer-1.6.1 bin/bulldozer
bulldozer-1.6.0 bin/bulldozer