Sha256: 9ca2cf129708465dbb3d8641e767175c0eaf40e9e68696a7341598e47ad85116
Contents?: true
Size: 995 Bytes
Versions: 8
Compression:
Stored size: 995 Bytes
Contents
# encoding: utf-8 $:.push File.expand_path("../lib", __FILE__) require 'bundler' require 'bundler/setup' require 'buff/ruby_engine' require 'varia_model' class Default < Thor extend Buff::RubyEngine unless jruby? require 'thor/rake_compat' include Thor::RakeCompat Bundler::GemHelper.install_tasks desc "build", "Build varia_model-#{VariaModel::VERSION}.gem into the pkg directory" def build Rake::Task["build"].execute end desc "install", "Build and install varia_model-#{VariaModel::VERSION}.gem into system gems" def install Rake::Task["install"].execute end desc "release", "Create tag v#{VariaModel::VERSION} and build and push varia_model-#{VariaModel::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
8 entries across 8 versions & 1 rubygems