Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 28 lines (25 sloc) 621 Bytes
#!/usr/bin/env ruby
#
# Reek examines Ruby source code for smells.
# Visit http://reek.rubyforge.org/ for docs etc.
#
# Author: Kevin Rutherford
#
# Allow local access
if ARGV.include?("-TX")
ARGV.delete("-TX")
require File.join('~/projects/tekSymmetry/reek', 'lib/reek')
require File.join('~/projects/tekSymmetry/reek', 'lib/reek/source')
require File.join('~/projects/tekSymmetry/reek', 'lib/reek/options')
else
require 'reek'
require 'reek/source'
require 'reek/options'
end
exitstatus = 0
source = Reek::Options.parse(ARGV)
if source.smelly?
puts source.report
exitstatus = 2
end
exit(exitstatus)
Something went wrong with that request. Please try again.