Sha256: 7b3622b381d1cfb98ef13dfad9e8c1b3d0ce8eab77784552538ec6aa576b4f26

Contents?: true

Size: 761 Bytes

Versions: 22

Compression:

Stored size: 761 Bytes

Contents

# encoding: utf-8
$:.push File.expand_path("../lib", __FILE__)

require 'bundler'
require 'bundler/setup'
require 'thor/rake_compat'

class Default < Thor
  include Thor::RakeCompat
  Bundler::GemHelper.install_tasks

  desc "build", "Build Solve-#{Solve::VERSION}.gem into the pkg directory"
  def build
    Rake::Task["build"].execute
  end

  desc "install", "Build and install Solve-#{Solve::VERSION}.gem into system gems"
  def install
    Rake::Task["install"].execute
  end

  desc "release", "Create tag v#{Solve::VERSION} and build and push Solve-#{Solve::VERSION}.gem to Rubygems"
  def release
    Rake::Task["release"].execute
  end

  desc "spec", "Run RSpec code examples"
  def spec
    exec "rspec --color --format=documentation spec"
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
solve-1.2.1 Thorfile
solve-1.2.0 Thorfile
solve-1.1.0 Thorfile
solve-1.0.0.rc3 Thorfile
solve-1.0.0.rc2 Thorfile
solve-1.0.0.rc1 Thorfile
solve-0.8.2 Thorfile
solve-0.8.1 Thorfile
solve-0.8.0 Thorfile
solve-0.7.0 Thorfile
solve-0.6.1 Thorfile
solve-0.6.0 Thorfile
solve-0.5.0 Thorfile
solve-0.4.4 Thorfile
solve-0.4.3 Thorfile
solve-0.4.2 Thorfile
solve-0.4.1 Thorfile
solve-0.4.0 Thorfile
solve-0.4.0.rc1 Thorfile
solve-0.3.1 Thorfile