Sha256: c796a58625483f8de0c9e50aa9d52d674d6560cfbfde6e4f9a9a1e1c295eb620
Contents?: true
Size: 736 Bytes
Versions: 2
Compression:
Stored size: 736 Bytes
Contents
#!/usr/bin/env rake # ========================================================================= # Ceedling - Test-Centered Build System for C # ThrowTheSwitch.org # Copyright (c) 2010-24 Mike Karlesky, Mark VanderVoord, & Greg Williams # SPDX-License-Identifier: MIT # ========================================================================= require 'bundler' require 'rspec/core/rake_task' desc "Run all rspecs" RSpec::Core::RakeTask.new(:spec) do |t| t.pattern = 'spec/**/*_spec.rb' end Dir['spec/**/*_spec.rb'].each do |p| base = File.basename(p,'.*').gsub('_spec','') desc "rspec #{base}" RSpec::Core::RakeTask.new("spec:#{base}") do |t| t.pattern = p end end task :default => [:spec] task :ci => [:spec]
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ceedling-1.0.1 | Rakefile |
ceedling-1.0.0 | Rakefile |