Sha256: 6e02f376beaee6bb2cea4c4a04d85666b00a8b23234e8fdf45b12b905bc3d792
Contents?: true
Size: 646 Bytes
Versions: 4
Compression:
Stored size: 646 Bytes
Contents
#!/usr/bin/env ruby require 'pathname' source_path = (Pathname.new(__FILE__).dirname + '../lib').expand_path $LOAD_PATH << source_path require 'bankai' 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 Bankai::VERSION exit 0 end templates_root = File.expand_path( File.join('..', 'templates'), File.dirname(__FILE__) ) Bankai::Generator.source_root templates_root Bankai::Generator.source_paths << Rails::Generators::AppGenerator.source_root Bankai::Generator.source_paths << templates_root Bankai::Generator.start
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
bankai-0.2.2 | exe/bankai |
bankai-0.2.1 | exe/bankai |
bankai-0.2.0 | exe/bankai |
bankai-0.1.0 | exe/bankai |