Sha256: 6de4cb5d13d2b3fc8e459effdb93f795387d866c56758aa5b37309db73ceab0d

Contents?: true

Size: 795 Bytes

Versions: 2

Compression:

Stored size: 795 Bytes

Contents

# =========================================================================
#   Ceedling - Test-Centered Build System for C
#   ThrowTheSwitch.org
#   Copyright (c) 2010-24 Mike Karlesky, Mark VanderVoord, & Greg Williams
#   SPDX-License-Identifier: MIT
# =========================================================================

require 'rake'
require 'rspec/core/rake_task'

desc "Run all rspecs"
RSpec::Core::RakeTask.new(:spec) do |t|
    t.pattern = Dir.glob('spec/**/*_spec.rb')
    t.rspec_opts = '--format documentation'
    # t.rspec_opts << ' more options'
end

desc "Run integration test on example"
task :integration_test do
    chdir("./examples/fff_example") do
        sh "ceedling clobber"
        sh "ceedling test:all"
    end
end

task :default => [:spec, :integration_test]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ceedling-1.0.1 plugins/fff/Rakefile
ceedling-1.0.0 plugins/fff/Rakefile