Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (36 sloc) 1.04 KB
# Ensure exocora library is part of the include path
$:.unshift(File.join(File.dirname(__FILE__), 'lib'))
require 'find'
require 'rubygems'
require 'rake/gempackagetask'
require 'rake/rdoctask'
require 'exocora/version'
# Gem specification
exocora_gemspec = do |s| = 'exocora'
s.version = Exocora::APP_VERSION = Exocora::APP_AUTHOR = Exocora::APP_EMAIL
s.homepage = Exocora::APP_URL
s.platform = Gem::Platform::RUBY
s.summary = 'A small framework for cgi scripts'
s.files = FileList['{examples}/**/*', '{lib}/**/*', 'LICENSE'].to_a
s.require_path = 'lib'
s.has_rdoc = true
s.required_ruby_version = '>= 1.8.6'
s.add_dependency('erubis', '>=2.5.0')
end do |p|
p.need_tar_gz = true
end do |rd|
rd.main = 'Exocora'
rd.title = 'Exocora'
rd.rdoc_dir = 'doc'
desc 'install Exocora'
task :install => :gem do
sh "gem install pkg/exocora-#{Exocora::APP_VERSION}.gem"