Sha256: c3cea484f4561a3aad219cde932a39a0d8e61a38eee51843b89a0af65da59a4f

Contents?: true

Size: 510 Bytes

Versions: 4

Compression:

Stored size: 510 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', 'bin/**/*']
  task.fail_on_error = true
end

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
githubchart-0.0.4 Rakefile
githubchart-0.0.3 Rakefile
githubchart-0.0.2 Rakefile
githubchart-0.0.1 Rakefile