Sha256: 0564cae02dec26f9a3196be51158212f8b1ed88b98ebfe77e28e0e5ca4a3cd3c
Contents?: true
Size: 1.34 KB
Versions: 4
Compression:
Stored size: 1.34 KB
Contents
#!/usr/bin/env ruby =begin rdoc This program is copyright 2006,2009 by Vincent Fourmond. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA =end # Coverage on demand if ARGV[0] == '--coverage' ARGV.shift require 'simplecov' nm = ARGV.shift if nm =~ /%/ # Some formatting id = begin File.open(".cov") do |f| f.read.to_i + 1 end rescue 0 end nm = nm % id File.open('.cov', 'w') do |f| f.puts id.to_s end end SimpleCov.command_name nm SimpleCov.start do filters.clear add_filter do |src| !(src.filename =~ /ctioga2/) end end end require 'ctioga2/plotmaker' plot_maker = CTioga2::PlotMaker.new plot_maker.run(ARGV)
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ctioga2-0.13.1 | bin/ctioga2 |
ctioga2-0.13 | bin/ctioga2 |
ctioga2-0.12 | bin/ctioga2 |
ctioga2-0.11 | bin/ctioga2 |