Sha256: c5e90ab9c802cedd3723d01d7c46247cf48db31dcca2073c4888ed0ad5448aae

Contents?: true

Size: 701 Bytes

Versions: 2

Compression:

Stored size: 701 Bytes

Contents

# ==========================================================================
#  Construction de la tache stats (statistiques du code Ruby)
#  author: Vincent Dubois
#  date: 06 fevrier 2009
# ==========================================================================
class StatsBuilder
  include Utils

  # Implementation de la construction de la tache
  def build(project_name, auto_install, proxy_option)
    # On lance la generation
    puts " Building stats report..."
    stats_result = Utils.run_command("rake stats")
    stats_report = File.open("#{Continuous4r::WORK_DIR}/stats_body.html", "w")
    stats_report.write(StatsFormatter.new(stats_result).to_html)
    stats_report.close
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
continuous4r-0.0.2 lib/stats_builder.rb
continuous4r-0.0.3 lib/stats_builder.rb