Sha256: 8de0d8ea7b253c68ea14bd136ae2650adce2d723d9d37122bcf13b4b863e31f3

Contents?: true

Size: 541 Bytes

Versions: 5

Compression:

Stored size: 541 Bytes

Contents

require "rspec/core/rake_task"
require 'jars/installer'


desc "Run specs"
RSpec::Core::RakeTask.new(:spec)
RSpec::Core::RakeTask.new(:rcov) do |t|
  t.rcov = true
  t.rcov_opts =  ['--exclude', '/Library,spec/']
end

desc "API Routes"
task :routes do
  require_relative './lib/mondrian_rest.rb'
  Mondrian::REST::Api.routes.each do |api|
    method = api.request_method.ljust(10)
    path = api.path
    puts "     #{method} #{path}"
  end
end

task :install_jars do
  Jars::Installer.vendor_jars!("lib/jars")
end

task :default => [:spec]

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mondrian-rest-1.0.4-java Rakefile
mondrian-rest-1.0.3-java Rakefile
mondrian-rest-1.0.2-java Rakefile
mondrian-rest-1.0.1-java Rakefile
mondrian-rest-1.0.0-java Rakefile