15 lines
371 B
Ruby
Executable File
15 lines
371 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
APP_ROOT = File.join(File.dirname(__FILE__), '..')
|
|
|
|
begin
|
|
require 'rubigen'
|
|
rescue LoadError
|
|
require 'rubygems'
|
|
require 'rubigen'
|
|
end
|
|
require 'rubigen/scripts/generate'
|
|
|
|
ARGV.shift if ['--help', '-h'].include?(ARGV[0])
|
|
RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
|
|
RubiGen::Scripts::Generate.new.run(ARGV)
|