Sha256: e83cf776c8eeccc71036b2ff7db60d097cf18f2ac9c639953a54b26e26ddb670
Contents?: true
Size: 1.59 KB
Versions: 5
Compression:
Stored size: 1.59 KB
Contents
require 'rubygems' require 'hoe' $LOAD_PATH.unshift('lib') require 'automateit' @interpreter = AutomateIt.new HoeInclude = { :executables => Dir['bin/*'].reject{|t|t.match(/~/)}.map{|t|File.basename(t)}, :files => (%w(add2path.sh gpl.txt CHANGES.txt Hoe.rake Manifest.txt Rakefile README.txt TESTING.txt TODO.txt TUTORIAL.txt) + FileList["{bin,examples,docs,helpers,lib,misc,spec}/**/*"]).to_a.reject{|t| File.directory?(t)}, :test_files => FileList["{spec}/**/*"].to_a, } desc "Create manifest" task :manifest do # Diff: rake -f Hoe.rake check_manifest items = Set.new(HoeInclude[:files]) File.open("Manifest.txt", "w+"){|h| h.write(items.to_a.sort.join("\n")+"\n")} end Hoe.new("AutomateIt", AutomateIt::VERSION.to_s) do |s| slogan = "AutomateIt is an open source tool for automating the setup and maintenance of servers, applications and their dependencies." title = "AutomateIt: Open source server automation" s.author = "Igal Koshevoy" s.changes = s.paragraphs_of('CHANGES.txt', 0).join("\n") s.description = slogan s.email = "igal@pragmaticraft.com" # TODO Remove dependency on activesupport and builder s.extra_deps = [["activesupport", ">= 1.4"], ["builder", ">= 2.0"], ["open4", ">= 0.9"]] s.name = "automateit" s.summary = slogan s.url = "http://automateit.org/" s.spec_extras = { :platform => Gem::Platform::RUBY, :rdoc_options => %w(--main README.txt --promiscuous --accessor class_inheritable_accessor=R --title) << title << %w(lib docs), :extra_rdoc_files => FileList[%w(README.txt TUTORIAL.txt TESTING.txt), "docs/*.txt"], } s.spec_extras.merge!(HoeInclude) end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
automateit-0.71219 | Hoe.rake |
automateit-0.71220 | Hoe.rake |
automateit-0.71221 | Hoe.rake |
automateit-0.71226.1 | Hoe.rake |
automateit-0.71226 | Hoe.rake |