Sha256: 8b494d820ec44dd5032515ec587e5ca1eb84993592d3636160c72ffbb55bcf10
Contents?: true
Size: 628 Bytes
Versions: 3
Compression:
Stored size: 628 Bytes
Contents
#!/usr/bin/env ruby require 'pathname' source_path = (Pathname.new(__FILE__).dirname + '../lib').expand_path $LOAD_PATH << source_path require 'armadura' 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 Armadura::VERSION exit 0 end templates_root = File.expand_path(File.join("..", "templates"), File.dirname(__FILE__)) Armadura::AppGenerator.source_root templates_root Armadura::AppGenerator.source_paths << Rails::Generators::AppGenerator.source_root << templates_root Armadura::AppGenerator.start
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
armadura-0.1.2 | exe/armadura |
armadura-0.1.1 | exe/armadura |
armadura-0.1.0 | bin/armadura |