lib/reap/task/info.rb in reap-4.4.1 vs lib/reap/task/info.rb in reap-4.5.0
- old
+ new
@@ -22,9 +22,23 @@
Display ProjectInfo file.
}
def run
- puts $PROJECT_INFO.info_stream
+ puts ProjectInfo.instance.info_stream
end
end
+
+
+# Rake interface.
+
+if defined?(Rake)
+
+ #require 'reap/rake/adapter'
+
+ module Rake
+ ReapInfo = ::Reap::RakeAdapter( ::Reap::Info )
+ end
+
+end
+