Sha256: a3d84d6afd8e629991b1841d20f9346b2f19675cf0dc03bee2b9c480f7f00e5a
Contents?: true
Size: 991 Bytes
Versions: 1
Compression:
Stored size: 991 Bytes
Contents
require 'rake' require 'rake/testtask' require 'rake/clean' require 'rake/gempackagetask' require 'rake/rdoctask' require 'tools/rakehelp' require 'fileutils' include FileUtils setup_tests setup_clean ["pkg", "lib/*.bundle", "*.gem", ".config"] setup_rdoc ['README', 'LICENSE', 'COPYING', 'lib/**/*.rb', 'doc/**/*.rdoc'] desc "Does a full compile, test run" task :default => [:test, :package] version="0.1.1" name="mongrel_cluster" setup_gem(name, version) do |spec| spec.summary = "Mongrel plugin that provides commands and Capistrano tasks for managing multiple Mongrel processes." spec.description = spec.summary spec.author="Bradley Taylor" spec.add_dependency('gem_plugin', '>= 0.2.1') spec.add_dependency('mongrel', '>= 0.3.12.4') spec.files += Dir.glob("resources/**/*") spec.has_rdoc = false end task :install => [:test, :package] do sh %{sudo gem install pkg/#{name}-#{version}.gem} end task :uninstall => [:clean] do sh %{sudo gem uninstall #{name}} end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mongrel_cluster-0.1.1 | Rakefile |