Sha256: bc24b7faf57a5b3728d6581e0e40a16bae65bda0a099acf7426ab641fa9ad1b2

Contents?: true

Size: 671 Bytes

Versions: 3

Compression:

Stored size: 671 Bytes

Contents

namespace :check do

  list = %w(coverage:run rubocop:run fu:run yardstick:run)
  list = ["pippi:run", list].flatten if USE_PIPPI_METRIC
  desc "Runs all tests and code metrics"
  task run: list

  list = %w(coverage:display rubocop:display fu:display inch yardstick:display)
  list = ["pippi:display", list].flatten if USE_PIPPI_METRIC
  desc "Displays results of last run for any metric"
  task display: list
end

list = %w(check:coverage check:rubocop check:fu check:inch check:yardstick)
if USE_PIPPI_METRIC
  list = ["check:pippi:configure", list, "check:pippi:display"].flatten
end
desc "Runs all tests and code metrics and displays their results"
task check: list

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hexx-suit-0.2.2 lib/tasks/check.rake
hexx-suit-0.2.1 lib/tasks/check.rake
hexx-suit-0.2.0 lib/tasks/check.rake