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