mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
15 lines
387 B
Text
15 lines
387 B
Text
|
#!/usr/bin/env ruby
|
||
|
APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
||
|
|
||
|
begin
|
||
|
require 'rubigen'
|
||
|
rescue LoadError
|
||
|
require 'rubygems'
|
||
|
require 'rubigen'
|
||
|
end
|
||
|
require 'rubigen/scripts/destroy'
|
||
|
|
||
|
ARGV.shift if ['--help', '-h'].include?(ARGV[0])
|
||
|
RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
|
||
|
RubiGen::Scripts::Destroy.new.run(ARGV)
|