bin/taza in taza-0.9.1.2 vs bin/taza in taza-0.9.2.0
- old
+ new
@@ -1,17 +1,4 @@
#!/usr/bin/env ruby
+require_relative '../lib/taza/generators/taza_generators'
-require 'rubygems'
-require 'rubigen'
-
-if %w(-v --version).include? ARGV.first
- require 'taza'
- puts "#{File.basename($0)} #{Taza::VERSION}"
- exit(0)
-end
-
-require 'rubigen/scripts/generate'
-source = RubiGen::PathSource.new(:application,
- File.join(File.dirname(__FILE__), "../lib/app_generators"))
-RubiGen::Base.reset_sources
-RubiGen::Base.append_sources source
-RubiGen::Scripts::Generate.new.run(ARGV, :generator => 'taza')
+Taza::TazaGenerators.start
\ No newline at end of file