lib/hisyo.rb in hisyo-0.1.0 vs lib/hisyo.rb in hisyo-0.2.0

- old
+ new

@@ -1,6 +1,20 @@ -Dir.glob("#{File.dirname(__FILE__)}/hisyo/**/*.rb") do |file| - require file -end +require "fileutils" +require "optparse" +require "find" module Hisyo + DIR = File.expand_path("../../data/generators", __FILE__) + HELP = [] + + def self.help(str) + HELP << str + end + + dir = File.dirname(__FILE__) + $LOAD_PATH.unshift(dir) if $LOAD_PATH.grep(dir).empty? end + +require "hisyo/util" +require "hisyo/generator" +require "hisyo/cli" +require "hisyo/version"