#--
#******************************************************************************
#* Copyright 1990-2007 MBARI
#* MBARI Proprietary Information. All rights reserved.
#******************************************************************************
#* Summary  : Script to run each .rb file through the Ruby syntax checker
#* Filename : check_syntax.rb
#* Author   : A. Chase
#* Project  : Benthic Rover
#* Version  :
#* Created  :
#* Modified :
#******************************************************************************

files = `ls *.rb`.split("\n");
files.each{|f|
  puts "checking #{f}"
  `ruby -c #{f}`
}
