require 'reap/task' # ___ __ _____ _ # |_ _|_ _ / _|___ |_ _|_ _ __| |__ # | || ' \| _/ _ \ | |/ _` (_-< / / # |___|_||_|_| \___/ |_|\__,_/__/_\_\ # # = Info Task # # Displays the ProjectInfo file. class Reap::Info < Reap::Task task_desc "Display ProjectInfo file." task_help %{ reap info Display ProjectInfo file. } task_available { |app| app.projectfile? } def run 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