lib/reap/task/doap.rb in reap-4.5.1 vs lib/reap/task/doap.rb in reap-4.5.2
- old
+ new
@@ -1,10 +1,10 @@
module Reap
# = Doap task
- #
+ #
# This task simply generates an XML DOAP project file.
# This file can be useful for RSS and Atom feeds to
# project tracking sites. The task utilizes as much
# information as it can from the ProjectInfo file.
#
@@ -21,9 +21,11 @@
much of the same information as Reap's ProjectInfo file, but is
more suitable to RESTful interapplication communications, like
RSS/Atom feeds.
}
+
+ task_available { Reap.projectfile? }
alias_method :prj, :task
def run