Sha256: cc3438a683042d128a13370f2427a82daa82f94aea97ba97717080f080dcc9b0

Contents?: true

Size: 1.41 KB

Versions: 4

Compression:

Stored size: 1.41 KB

Contents

require 'rake'
require 'rubygems'
require 'rake/rdoctask'
require 'rake/testtask'
require 'spec/rake/spectask'
require "date"
require "fileutils"
require "rubygems"
require "rake/gempackagetask"

VERSION = "0.6"

highrise_gemspec = Gem::Specification.new do |s|
  s.name             = "highrise"
  s.version          = VERSION
  s.platform         = Gem::Platform::RUBY
  s.has_rdoc         = true
  s.extra_rdoc_files = ["README.mkdn"]
  s.summary          = "Find awesome stuff"
  s.description      = s.summary
  s.authors          = ["Marcos Tapajós"]
  s.email            = "tapajos@improveit.com.br"
  s.homepage         = "http://www.improveit.com.br/en/company/tapajos"
  s.require_path     = "lib"
  s.autorequire      = "highrise"
  s.files            = %w(README.mkdn Rakefile) + Dir.glob("{bin,lib,spec}/**/*")
end

Rake::GemPackageTask.new(highrise_gemspec) do |pkg|
  pkg.gem_spec = highrise_gemspec
end

namespace :gem do
  namespace :spec do
    desc "Update highrise.gemspec"
    task :generate do
      File.open("highrise.gemspec", "w") do |f|
        f.puts(highrise_gemspec.to_ruby)
      end
    end
  end
end

desc "Instal gem"
task :install => :package do
  sh %{sudo gem install --local pkg/highrise-#{VERSION}}
end

desc 'Default: run unit tests.'
task :default => :spec

desc "Run all specs"
Spec::Rake::SpecTask.new do |t|
  t.spec_files = FileList['spec/**/*_spec.rb']
  t.spec_opts = ['--options', 'spec.opts']
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
slainer68-highrise-0.6.1 Rakefile
slainer68-highrise-0.6.2 Rakefile
slainer68-highrise-0.6 Rakefile
tapajos-highrise-0.6 Rakefile