# Rakefile for enhost begin require 'rake/reductive' rescue LoadError $stderr.puts "You must have the Reductive build library in your RUBYLIB." exit(14) end project = Rake::RedLabProject.new("enhost") do |p| p.summary = "Enhost stores collected facts in LDAP." p.description = <<-EOF Enhost is a simple script to upload facts collected from Facter into LDAP. EOF p.filelist = [ 'install.rb', 'COPYING', 'README', '[A-Z]*', 'bin/**/*', 'test/**/*.rb', 'doc/**/*', 'etc/*' ] p.add_dependency("facter", "1.1.2") p.add_dependency("ldap", "0.8.2") end project.mkgemtask do |gem| gem.bindir = "bin" # Use these for applications. gem.executables = ["enhost"] gem.default_executable = "enhost" end if project.has?(:epm) project.mkepmtask do |task| task.bins = FileList.new("bin/enhost") task.add_dependency("ruby", "1.8.1") end end # $Id: Rakefile 35 2006-03-09 06:51:07Z luke $