Sha256: 05ccb54e5f2ce087fa52c96bc57cbd08911f66afaf9a023772a21cc542ed2600

Contents?: true

Size: 557 Bytes

Versions: 4

Compression:

Stored size: 557 Bytes

Contents

# frozen_string_literal: true

require "bundler/gem_tasks"
require 'rspec/core/rake_task'
require 'English'

RSpec::Core::RakeTask.new(:spec)

task default: :spec

desc "Run specs and integration tests"
task :test_all do
  puts "#{`ledger --version |head -n1`}"
  puts "Running unit tests"
  Rake::Task["spec"].invoke
  puts "Running integration tests"
  Rake::Task["test_integration"].invoke
end

desc "Run integration tests"
task :test_integration do
  cmd = 'prove -v ./spec/integration/test.sh'
  raise 'Integration tests failed' unless system(cmd)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
reckon-0.11.1 Rakefile
reckon-0.11.0 Rakefile
reckon-0.10.0 Rakefile
reckon-0.9.6 Rakefile