Sha256: a6e31589e300d274a3ab8ebb199e783033b97411dd6727a775c254b86c45ac82

Contents?: true

Size: 671 Bytes

Versions: 3

Compression:

Stored size: 671 Bytes

Contents

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

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

require 'flame'

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

ARGV << "--skip-javascript"
ARGV << "--skip-jbuilder"
ARGV << "--database=postgresql"
ARGV << "-T"

templates_path = File.expand_path(File.join("..", "templates"), File.dirname(__FILE__))
Flame::Generators::App.source_paths << Rails::Generators::AppGenerator.source_root << templates_path
Flame::Generators::App.start

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
flamerb-0.2.0 bin/flamerb
flamerb-0.1.3 bin/flamerb
flamerb-0.1.2 bin/flamerb