Sha256: 5fd782717dbad2e97aca44fb84931760eebd87f40536519be1bf655b36349d25

Contents?: true

Size: 489 Bytes

Versions: 5

Compression:

Stored size: 489 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

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
reckon-0.9.5 Rakefile
reckon-0.9.4 Rakefile
reckon-0.9.3 Rakefile
reckon-0.9.2 Rakefile
reckon-0.9.1 Rakefile