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

Version Path
jekyll_picture_tag-2.1.2 Rakefile
jekyll_picture_tag-2.1.1 Rakefile
jekyll_picture_tag-2.1.0 Rakefile
jekyll_picture_tag-2.0.4 Rakefile
jekyll_picture_tag-2.0.3 Rakefile
jekyll_picture_tag-2.0.2 Rakefile
jekyll_picture_tag-2.0.1 Rakefile
jekyll_picture_tag-2.0.0 Rakefile
jekyll_picture_tag-2.0.0pre1 Rakefile
jekyll_picture_tag-1.14.0 Rakefile
jekyll_picture_tag-1.13.0 Rakefile
jekyll_picture_tag-1.12.0 Rakefile
jekyll_picture_tag-1.11.0 Rakefile
jekyll_picture_tag-1.10.2 Rakefile
jekyll_picture_tag-1.10.1 Rakefile
jekyll_picture_tag-1.10.0 Rakefile
jekyll_picture_tag-1.9.0 Rakefile
jekyll_picture_tag-1.8.0 Rakefile
jekyll_picture_tag-1.7.1 Rakefile
jekyll_picture_tag-1.7.0 Rakefile