#!/usr/local/bin/ruby # TODO remove Signal.trap("INT") { puts; exit } # CTRL-C File.open(File.join(File.dirname(__FILE__), '../VERSION')) do |f| puts "Gosu Extensions #{f.read}" end application = ARGV.first puts "Usage: gogogosu " and exit(1) unless application require File.dirname(__FILE__) + '/../generator/gogogosu' generator = Generator::Gogogosu.new generator.dir application do generator.dir 'lib' do end generator.dir 'media' do end end puts <<-START Great! Now proceed as follows: 1. cd #{application} 2. START