Sha256: d05707543ec804539a3e25fcafd5e8506b592ea4ec3ed53892bb0fd89d3c7e25

Contents?: true

Size: 902 Bytes

Versions: 12

Compression:

Stored size: 902 Bytes

Contents

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

require 'bundler'
require 'bundler/setup'

require 'chozo'

class Default < Thor
  unless jruby?
    require 'thor/rake_compat'
    
    include Thor::RakeCompat
    Bundler::GemHelper.install_tasks

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

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

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

  class Spec < Thor
    namespace :spec
    default_task :all

    desc "all", "run all tests"
    def all
      exec "rspec --color --format=documentation spec"
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
chozo-0.6.1 Thorfile
chozo-0.6.0 Thorfile
chozo-0.5.0 Thorfile
chozo-0.4.2 Thorfile
chozo-0.4.1 Thorfile
chozo-0.4.0 Thorfile
chozo-0.3.0 Thorfile
chozo-0.2.3 Thorfile
chozo-0.2.2 Thorfile
chozo-0.2.1 Thorfile
chozo-0.2.0 Thorfile
chozo-0.1.0 Thorfile