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