Sha256: 131d7387013c6a50094a8a865cbeaabcd9fac43ec26ef524ed52409f8373768b

Contents?: true

Size: 402 Bytes

Versions: 2

Compression:

Stored size: 402 Bytes

Contents

require "bundler/gem_tasks"
require "rake/testtask"
require "rubocop/rake_task"

Rake::TestTask.new(:test) do |t|
  t.libs << "test"
  t.libs << "lib"
  t.test_files = FileList["test/**/test_*.rb"]
  t.warning = false
end

RuboCop::RakeTask.new

task :test_and_release => [:rubocop, :test] do |t|
  # Release the gem if rubocop and tests pass
  Rake::Task["release"].invoke
end

task :default => :test

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bridgetown-mdjs-1.0.1 Rakefile
bridgetown-mdjs-1.0.0 Rakefile