Sha256: 3d59d503fd41b7dbfd5f4a661c7c8833036000aae0e258a75a9758806befe8c4

Contents?: true

Size: 493 Bytes

Versions: 3

Compression:

Stored size: 493 Bytes

Contents

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'rubocop/rake_task'

desc 'Run tests'
RSpec::Core::RakeTask.new(:spec)

desc 'Run Rubocop on the gem'
Rubocop::RakeTask.new(:rubocop) do |task|
  task.patterns = ['lib/**/*.rb', 'spec/**/*.rb']
  task.fail_on_error = true
end

desc 'Run travis-lint on .travis.yml'
task :travislint do
  print 'There may be an issue with your .travis.yml' unless system('travis-lint')
end

task default: [:spec, :travislint, :rubocop, :build]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dock0-0.0.8 Rakefile
dock0-0.0.6 Rakefile
dock0-0.0.5 Rakefile