Sha256: 467779278f50b1d2c7b7ab2e195ccfcc6249fb5d6859554bfa92452cbb2d6bcb

Contents?: true

Size: 702 Bytes

Versions: 2

Compression:

Stored size: 702 Bytes

Contents

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

require 'bundler'
require 'thor/rake_compat'

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

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

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

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

  desc "spec", "Run RSpec code examples"
  def spec
    exec "rspec spec"
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
thor_dleavitt-0.18.1 Thorfile
thor-dleavitt-0.18.1 Thorfile