Sha256: 017f95da9906950a8252638a2a6dfffccc52f321105d2654389cb8c286888371
Contents?: true
Size: 920 Bytes
Versions: 4
Compression:
Stored size: 920 Bytes
Contents
# frozen_string_literal: true require 'rake' require 'rake/clean' require 'rspec/core/rake_task' require 'rubocop/rake_task' begin require 'bundler/setup' Bundler::GemHelper.install_tasks rescue LoadError puts 'although not required, bundler is recommened for running the tests' end RSpec::Core::RakeTask.new(:spec) RuboCop::RakeTask.new do |task| task.requires << 'rubocop-performance' task.requires << 'rubocop-rspec' end CLOBBER.include(FileList['./*.gem']) namespace :chgk do desc 'Updates RubyGems, installs dependencies' task :install do puts 'Running bundle install' sh 'gem update --system' sh 'bundle' end desc 'Builds the gem' task :build do puts 'Building' sh 'gem build rating-chgk-v2.gemspec' end end task rubospec: %w[rubocop spec] task full_build: %w[clobber chgk:install chgk:build] task default: :full_build
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rating-chgk-v2-1.6.0 | Rakefile |
rating-chgk-v2-1.5.0 | Rakefile |
rating-chgk-v2-1.4.0 | Rakefile |
rating-chgk-v2-1.3.0 | Rakefile |