Sha256: f7756e61ce2af78468f39f07bcb3dfb4cc8a4889592115cb77dd5d576644e19d

Contents?: true

Size: 577 Bytes

Versions: 2

Compression:

Stored size: 577 Bytes

Contents

#!/usr/bin/env rake
require "bundler/gem_tasks"

puts "Entity suffix is #{ENV["TRAVIS_JOB_ID"] || "_local"}"
begin
  require 'rspec/core/rake_task'

  desc "Run Integration Tests"
  RSpec::Core::RakeTask.new(:integration) do |t|
    t.pattern = FileList["spec/integration/**/*#{ENV['PATTERN']}*_spec.rb"]
  end


  desc "Run Unit Tests"
  RSpec::Core::RakeTask.new(:spec) do |t|
    t.pattern = FileList["spec/lib/auth0/**/*#{ENV['PATTERN']}*_spec.rb"]
  end

  desc "Run All Suites"
  RSpec::Core::RakeTask.new(:all)

  task :default => :spec
rescue LoadError
  #No RSpec
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
auth0-3.6.0 Rakefile
auth0-3.5.0 Rakefile