Sha256: 6321316d8e57ce18fae5335305b92b19b092c9d9be34afd2320c814c8e0046b4
Contents?: true
Size: 811 Bytes
Versions: 20
Compression:
Stored size: 811 Bytes
Contents
# Since we have two gemfiles, we can't just require 'bundler/gem_tasks'. We have # to explicitly set its name and install them: require 'bundler/gem_helper' Bundler::GemHelper.install_tasks name: 'jekyll_picture_tag' require 'rake/testtask' require 'rubocop/rake_task' # Run all tests Rake::TestTask.new(:test) do |t| t.libs << 'test' t.libs << 'lib' t.test_files = FileList['test/**/test_*.rb'] end # Run only unit tests Rake::TestTask.new(:unit) do |t| t.libs << 'test' t.libs << 'lib' t.test_files = FileList['test/unit/**/test_*.rb'] end # Run only integration tests Rake::TestTask.new(:integration) do |t| t.libs << 'test' t.libs << 'lib' t.test_files = FileList['test/integration/**/test_*.rb'] end RuboCop::RakeTask.new # Runs all tests and rubocop task default: %i[test rubocop]
Version data entries
20 entries across 20 versions & 1 rubygems