Sha256: f9ed650883315a58fc3e1a4a02ddbaa5da0782a7f5042dacf6fe59cd5a27b772
Contents?: true
Size: 970 Bytes
Versions: 2
Compression:
Stored size: 970 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 :messages_dictionary 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 messages_dictionary.gemspec' end end task rubospec: %w[rubocop spec] task full_build: %w[clobber messages_dictionary:install messages_dictionary:build] task default: :full_build
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
messages_dictionary-2.1.0 | Rakefile |
messages_dictionary-2.0.0 | Rakefile |