Sha256: e4f34d47caf7d2e1dd7243d252dec49d1c1423109912d550a9cf4c4ba39f2a31
Contents?: true
Size: 643 Bytes
Versions: 2
Compression:
Stored size: 643 Bytes
Contents
namespace :check do namespace :fu do metric = Hexx::Suit::Metrics::MetricFu output = -> { ENV.fetch("METRIC_FU_OUTPUT") { "tmp/metric_fu/output" } } # configures the metrics task :configure do metric.load end desc "Runs metric_fu" task run: :configure do Hexx::RSpec["metric_fu --no-open --out #{output.call}"] puts "see results in #{output.call}" end desc "Displays results of metric_fu last run" task display: :configure do Hexx::RSpec["metric_fu --open --out #{output.call}"] end end desc "Runs metric_fu and displays the results" task fu: %w(fu:display) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hexx-suit-2.3.2 | lib/tasks/check/fu.rake |
hexx-suit-2.3.0 | lib/tasks/check/fu.rake |