Sha256: 8c4be067783f920e7f737fd4d735c44194962b8568b8325af7e9eaeba839c328

Contents?: true

Size: 708 Bytes

Versions: 1

Compression:

Stored size: 708 Bytes

Contents

# encoding: utf-8
begin
  require 'bundler/setup'
rescue LoadError => e
  abort e.message
end

require 'rake'
require 'rubygems'
require 'bundler/gem_tasks'

require 'yard'
YARD::Rake::YardocTask.new
task doc: :yard

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new

require 'rubocop/rake_task'

desc 'Run RuboCop on the lib directory'
RuboCop::RakeTask.new(:rubocop) do |task|
  # task.patterns = ['lib/**/*.rb']
  # task.formatters = ['files']
  task.fail_on_error = true
end

require 'pry'

desc 'Run pry console'
task :console do
  require './lib/eveapi'
  require './lib/eveapi/console'
  Pry.start
end

task c: :console
task test: :spec
task default: [:spec, :"rubocop:auto_correct", :rubocop]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eveapi-0.1.3 Rakefile