Sha256: b555dfdcfe214441dc2088d4628425e9dd4450ff76532423a123da3a1d7e7edf

Contents?: true

Size: 694 Bytes

Versions: 7

Compression:

Stored size: 694 Bytes

Contents

require "bundler/gem_tasks"
require "rake/testtask"
project_name = "github_exporter"

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/github_exporter"
  include GithubExporter
  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
github_exporter-0.1.6 Rakefile
github_exporter-0.1.5 Rakefile
github_exporter-0.1.4 Rakefile
github_exporter-0.1.3 Rakefile
github_exporter-0.1.2 Rakefile
github_exporter-0.1.1 Rakefile
github_exporter-0.1.0 Rakefile