Sha256: 493b4ee8d97b9d421f9d06cfc190e1369c3456a0294155c28bd8cedeb4536083

Contents?: true

Size: 632 Bytes

Versions: 7

Compression:

Stored size: 632 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
    `gem install pkg/mandy-*.gem --no-rdoc --no-ri`
  end
  
  task :push => :build do
    `gem push pkg/mandy-#{File.read(File.join(File.dirname(__FILE__), 'VERSION'))}.gem`
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mandy-0.5.28 Rakefile
mandy-0.5.27 Rakefile
mandy-0.5.26 Rakefile
mandy-0.5.25 Rakefile
mandy-0.5.24 Rakefile
mandy-0.5.23 Rakefile
mandy-0.5.22 Rakefile