PageRenderTime 1ms CodeModel.GetById 38ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/script/generate

http://rubycas-server.googlecode.com/
Ruby | 14 lines | 11 code | 2 blank | 1 comment | 1 complexity | d3ac7aae8050eca36c1812402e02bb09 MD5 | raw file
 1#!/usr/bin/env ruby
 2APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
 3
 4begin
 5  require 'rubigen'
 6rescue LoadError
 7  require 'rubygems'
 8  require 'rubigen'
 9end
10require 'rubigen/scripts/generate'
11
12ARGV.shift if ['--help', '-h'].include?(ARGV[0])
13RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
14RubiGen::Scripts::Generate.new.run(ARGV)