Sha256: cf6ba8479a184badd57f60fd9656d732fbb7fbd873806e08e5c9e71f7b54a436

Contents?: true

Size: 543 Bytes

Versions: 2

Compression:

Stored size: 543 Bytes

Contents

require 'rubygems'
require 'bundler/setup'

require 'rake'

require 'rspec/core'
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec)

task :environment do
  ENV['RACK_ENV'] ||= 'development'
  require File.expand_path('../config/environment', __FILE__)
end

task routes: :environment do
  Acme::API.routes.each do |route|
    method = route.route_method.ljust(10)
    path = route.route_path
    puts "     #{method} #{path}"
  end
end

require 'rubocop/rake_task'
RuboCop::RakeTask.new(:rubocop)

task default: [:rubocop, :spec]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vitals-0.4.0 integration/multiverse/grape-on-rack/Rakefile
vitals-0.3.0 integration/multiverse/grape-on-rack/Rakefile