Sha256: 578745ef65bf59b73ff84603b2a583d8e7f24bd818d4092f5cb80b600b148f95

Contents?: true

Size: 681 Bytes

Versions: 7

Compression:

Stored size: 681 Bytes

Contents

require 'bundler/gem_tasks'
require 'rake/testtask'
project_name = 'mp4_renamer'
Rake::TestTask.new do |t|
  t.libs << "lib/#{project_name}"
  t.test_files = FileList["test/lib/#{project_name}/test_*.rb"]
  t.verbose = true
end

task default: [:test, :rubocop]
task :pry do
  require 'pry'
  require 'awesome_print'
  require_relative 'lib/mp4_renamer'
  include Mp4Renamer
  ARGV.clear
  Pry.start
end

require 'rubocop/rake_task'
desc 'Run RuboCop on the lib directory'
RuboCop::RakeTask.new(:rubocop) do |task|
  task.patterns = ['lib/**/*.rb']
  # only show the files with failures
  task.formatters = ['files']
  # don't abort rake on failure
  task.fail_on_error = false
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mp4_renamer-0.1.6 Rakefile
mp4_renamer-0.1.5 Rakefile
mp4_renamer-0.1.4 Rakefile
mp4_renamer-0.1.3 Rakefile
mp4_renamer-0.1.2 Rakefile
mp4_renamer-0.1.1 Rakefile
mp4_renamer-0.1.0 Rakefile