Sha256: e5d00f410d6a773f9639f72c3f841736a854dd016561fa5a3d43c6e84e15c76e

Contents?: true

Size: 680 Bytes

Versions: 8

Compression:

Stored size: 680 Bytes

Contents

require "bundler"

Bundler.setup
Bundler.require(:default)
require 'rake'
require 'rspec/core/rake_task'

$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
require 'classproxy/version'

RSpec::Core::RakeTask.new("spec") do |spec|
  spec.pattern = "spec/**/*_spec.rb"
end

desc "Run watchr"
task :watchr do
  sh %{bundle exec watchr .watchr}
end

task gem: :build
task :build do
  system "gem build classproxy.gemspec"
end

task release: :build do
  version = ClassProxy::VERSION
  system "git tag -a v#{version} -m 'Tagging #{version}'"
  system "git push --tags"
  system "gem push classproxy-#{version}.gem"
  system "rm classproxy-#{version}.gem"
end

task default: :spec

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
classproxy-0.7.15 Rakefile
classproxy-0.7.14 Rakefile
classproxy-0.7.13 Rakefile
classproxy-0.7.12 Rakefile
classproxy-0.7.11 Rakefile
classproxy-0.7.10 Rakefile
classproxy-0.7.9 Rakefile
classproxy-0.7.4 Rakefile