Sha256: 1c80b154f5f78942dc045dfe337d2cf62076e31d983dc63ceac64a5526f491bd

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 KB

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"
name="mongrel_service"

setup_gem(name, version) do |spec|
  spec.summary = "Mongrel Native Win32 Service Plugin for Rails"
  spec.description = "This plugin offer native win32 services for rails, powered by Mongrel."
  spec.author="Luis Lavena"
  
  # added mongrel_service executable
  spec.executables = ["mongrel_service"]
  
  spec.add_dependency('gem_plugin', '>= 0.2.1')
  spec.add_dependency('mongrel', '>= 0.3.12.4')
  spec.files += Dir.glob("resources/**/*")
end


task :install => [:test, :package] do
  sh %{gem install pkg/#{name}-#{version}.gem}
end

task :uninstall => [:clean] do
  sh %{gem uninstall #{name}}
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongrel_service-0.1 Rakefile