#!/usr/bin/env ruby
# frozen_string_literal: true

require "rubygems"
require "bundler/setup"

ARGV.unshift("--config", File.expand_path("../../.reek.yml", __dir__))
ARGV.push("app", "lib") unless ARGV.any? { |a| !a.start_with?("-") }

load Gem.bin_path("reek", "reek")
