Sha256: 742cc4e3537e6e8f9c0869696869c770603ea1029eda8eb15afb51dc79a48732

Contents?: true

Size: 525 Bytes

Versions: 22

Compression:

Stored size: 525 Bytes

Contents

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

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

require 'o2webappizer'

if ['-v', '--version'].include? ARGV[0]
  puts O2webappizer::VERSION
  exit 0
end

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

O2webappizer::AppGenerator.start

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
o2webappizer-0.1.2 bin/o2webappizer
o2webappizer-0.1.1 bin/o2webappizer