Sha256: c5e4154f18675539a74876d185817dc916c95863ee196ec6c4c52c6ab41c56be

Contents?: true

Size: 605 Bytes

Versions: 6

Compression:

Stored size: 605 Bytes

Contents

require 'rubygems'
require "rake"
require File.expand_path(File.join(File.dirname(__FILE__), 'lib', 'mandy'))
require 'spec/rake/spectask'

task :default => :spec

Spec::Rake::SpecTask.new(:spec) do |t|
  t.spec_files = FileList['spec/lib/**/*_spec.rb']
  t.spec_opts = %w{-f s -c -L mtime}
end

namespace :gem do
  task :build do
    `gem build mandy.gemspec`
    `mkdir pkg; mv mandy-*.gem pkg/`
  end

  task :install => :build do
    `sudo gem install pkg/mandy-*.gem`
  end
  
  task :push => :build do
    `gem push pkg/mandy-#{File.read(File.join(File.dirname(__FILE__), 'VERSION'))}.gem`
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mandy-0.4.98 Rakefile
mandy-0.4.97 Rakefile
mandy-0.4.96 Rakefile
mandy-0.4.95 Rakefile
mandy-0.4.94 Rakefile
mandy-0.4.93 Rakefile