Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (28 sloc) 1.15 KB
require 'rubygems'
require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = 'appserver'
gem.summary = 'Monit/Nginx/Unicorn application server configurator using deployment via git'
gem.description = 'This tool automatically generates server configs for Monit, Nginx and Unicorn to host your Rack-based (Rails) applications. Running it automatically in git update hooks provides an automatic deployment of applications whenever the repository is updated on the server.'
gem.homepage = 'http://github.com/zargony/appserver'
gem.authors = ['Andreas Neuhaus']
gem.requirements << 'a server with Monit, Nginx and Git'
gem.add_dependency 'unicorn', '~> 1.0'
gem.add_dependency 'git', '~> 1.2'
gem.add_dependency 'bundler', '>= 0.9.24'
gem.has_rdoc = false
gem.add_development_dependency 'mocha'
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts 'Jeweler (or a dependency) not available. Install it with: gem install jeweler'
end
require 'rake/testtask'
task :default => :test
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
end