lib/amiba.rb in amiba-0.0.3 vs lib/amiba.rb in amiba-0.0.4
- old
+ new
@@ -1,5 +1,9 @@
+require 'thor'
+require 'thor/group'
+require 'thor/runner'
+
module Amiba
class Util
def self.in_amiba_application?
File.exist? ".amiba"
@@ -89,6 +93,13 @@
end
end
end
-
+if Amiba::Util.in_amiba_application?
+ require 'amiba/all'
+ require 'amiba/scope'
+ require 'amiba/page'
+ require 'amiba/entry'
+ require 'amiba/site'
+end
+#