Sha256: d5c641e5624ae44b219bd8fe0154696a02f27c56001cdcc02397305c39af02be

Contents?: true

Size: 495 Bytes

Versions: 4

Compression:

Stored size: 495 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["integration_tests"].invoke
end

task :integration_tests do
  puts `./spec/integration/test.sh`
  raise 'Integration tests failed' if $CHILD_STATUS.exitstatus != 0
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
reckon-0.7.1 Rakefile
reckon-0.7.0 Rakefile
reckon-0.6.2 Rakefile
reckon-0.6.1 Rakefile