Sha256: 9e6f9dbc1c63ede3cda3032b0c8970fa0f80c5bb28ca732024c497fc69bd3f09

Contents?: true

Size: 587 Bytes

Versions: 6

Compression:

Stored size: 587 Bytes

Contents

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

desc 'Update bundle'
task :bundle do
  `bundle update`
end

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, :install]
task release: [:bundle]

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
githubstats-0.2.9 Rakefile
githubstats-0.2.8 Rakefile
githubstats-0.2.7 Rakefile
basiccache-0.1.0 Rakefile
githubstats-0.2.6 Rakefile
basiccache-0.0.29 Rakefile