Sha256: 46d3089fca614a5c075f7d5dbfb8af5f4d5cc6b151c246bbfdfb31e28a1e4ac2
Contents?: true
Size: 1.22 KB
Versions: 3
Compression:
Stored size: 1.22 KB
Contents
# encoding: utf-8 $:.push File.expand_path("../lib", __FILE__) require 'bundler' require 'bundler/setup' require 'buff/ruby_engine' require 'ridley' class Default < Thor extend Buff::RubyEngine unless jruby? require 'thor/rake_compat' include Thor::RakeCompat Bundler::GemHelper.install_tasks desc "build", "Build ridley-#{Ridley::VERSION}.gem into the pkg directory" def build Rake::Task["build"].invoke end desc "install", "Build and install ridley-#{Ridley::VERSION}.gem into system gems" def install Rake::Task["install"].invoke end desc "release", "Create tag v#{Ridley::VERSION} and build and push ridley-#{Ridley::VERSION}.gem to Rubygems" def release Rake::Task["release"].invoke end end class Spec < Thor namespace :spec default_task :all desc "all", "run all tests" def all exec "rspec --color --format=documentation spec" end desc "unit", "run only unit tests" def unit exec "rspec --color --format=documentation spec --tag ~type:acceptance" end desc "acceptance", "run only acceptance tests" def acceptance exec "rspec --color --format=documentation spec --tag type:acceptance" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ridley-5.1.1 | Thorfile |
ridley-5.1.0 | Thorfile |
ridley-5.0.0 | Thorfile |