Sha256: 3a9a1971e9dec378b95047a67e9d059a2b1f1bdd02961f68494ddba6d85a2759
Contents?: true
Size: 1.08 KB
Versions: 1
Compression:
Stored size: 1.08 KB
Contents
# Reap support require 'reap/projectinfo' require 'reap/task' # Reap tasks require 'reap/task/fileperm' require 'reap/task/test' require 'reap/task/testext' require 'reap/task/rdoc' require 'reap/task/announce' require 'reap/task/package' require 'reap/task/publish' require 'reap/task/info' require 'reap/task/install' require 'reap/task/release' require 'reap/task/doap' #require 'reap/task/noop' module Reap Version = "4.3.4" # Hash of all possible tasks # { task name => task class } def self.registry Task.task_list end # Hash of tasks available to this project def self.tasks unless @tasks @tasks = {} registry.each do |name, klass| @tasks[name] = klass if klass.verify? end end @tasks end def self.register( alternative_project_file=nil ) $PROJECT_INFO = ProjectInfo.new( alternative_project_file ) $PROJECT_INFO.exists? end def self.projectfile? $PROJECT_INFO.exists? end # def self.initialize # @tasks ||= {} # registry.each do |name, klass| # @tasks[name] = klass.new # end # end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reap-4.3.4 | lib/reap/reap.rb |