Sha256: 69f0ad2bc5108bc956c307bd62d825b80f1fe445d472080fb39b224bb46efbab
Contents?: true
Size: 658 Bytes
Versions: 1
Compression:
Stored size: 658 Bytes
Contents
#!/usr/local/bin/ruby require 'fileutils' require 'optparse' require 'optparse/time' require 'ostruct' require 'pp' require 'erb' require 'genosaurus' require File.join(File.dirname(__FILE__), "..", "lib", "generators", "mack_application_generator", "mack_application_generator") app = ARGV[0] raise "You must specify a name for this application!" if app.nil? options = OpenStruct.new options.orm = "data_mapper" options.version = "0.4.7" opts = OptionParser.new do |opts| opts.on("-o [ORM]") do |v| options.orm = v end end opts.parse!(ARGV) MackApplicationGenerator.run({"orm" => options.orm, "version" => options.version, "app" => app})
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mack-0.4.7 | bin/mack |