require 'bundler/setup'
require 'machete'
require 'machete/matchers'

`mkdir -p log`
Machete.logger = Machete::Logger.new("log/integration.log")

RSpec.configure do |config|
  config.filter_run_excluding :cached => ENV['BUILDPACK_MODE'] == 'uncached'
  config.filter_run_excluding :uncached => ENV['BUILDPACK_MODE'] == 'cached'
end

def deploy_app(app_name, config)
    Machete.deploy_app(
      app_name,
      config
    )
end

require 'bundler/setup'
require 'machete'
require 'machete/matchers'

`mkdir -p log`
Machete.logger = Machete::Logger.new("log/integration.log")

RSpec.configure do |config|
  config.color = true
  config.tty = true

  config.filter_run_excluding :cached => ENV['BUILDPACK_MODE'] == 'uncached'
  config.filter_run_excluding :uncached => ENV['BUILDPACK_MODE'] == 'cached'
end

def deploy_app(app_name, config)
    Machete.deploy_app(
      app_name,
      config
    )
end

Make RSpec emit colored output no matter what
Make RSpec emit colored output no matter what

We thought concourse-filter was swallowing color codes.

It was not. Instead, they were not emitted on CI.

[#133046105]
