lib/skelerl.rb in auser-skelerl-0.0.1 vs lib/skelerl.rb in auser-skelerl-0.0.2
- old
+ new
@@ -1,10 +1,22 @@
-$:.unshift(File.dirname(__FILE__)) unless
- $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
+[File.expand_path(File.dirname(__FILE__))].each do |dir|
+ $:.unshift(dir) unless $:.include?(dir)
+end
+require "rubygems"
+%w(dslify rubigen).each do |gem|
+ begin;require "#{gem}";rescue Exception => e;puts "Error: #{e}";end
+end
+
+require "skelerl/init"
+
+%w(build).each do |rake|
+ load "#{File.dirname(__FILE__)}/../tasks/#{rake}.rake"
+end
+
module Skelerl
module VERSION
- STRING = "0.0.1"
+ STRING = "0.0.2"
end
end
\ No newline at end of file