Sha256: 2d74c10170bd68d2d064b6504893a9a5e73f878a2a699979fe8fccd1a70535f1

Contents?: true

Size: 861 Bytes

Versions: 4

Compression:

Stored size: 861 Bytes

Contents

HERE = File.expand_path(File.dirname(__FILE__)) + '/'

require 'rake'
require 'rake/clean'
require 'rake/testtask'
require './rakefile_helper'

include RakefileHelpers

REQUIRED_DIRS = [ './build', './build/mocks' ]
REQUIRED_DIRS.each do |v|
  directory v
end

# Load default configuration, for now
DEFAULT_CONFIG_FILE = 'gcc.yml'
configure_toolchain(DEFAULT_CONFIG_FILE)

task :unit do
  run_tests(get_unit_test_files)
end

desc "Generate test summary"
task :summary do
  report_summary
end

desc "Build and test Unity"
task :all => [:clean, :unit, :summary]
task :default => REQUIRED_DIRS + [:clobber, :all]
task :ci => [:default]
task :cruise => [:default]

desc "Load configuration"
task :config, :config_file do |t, args|
  configure_toolchain(args[:config_file])
end

desc "Return error on Failures"
task :strict do
  $return_error_on_failures = true
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ceedling-0.28.3 vendor/cmock/examples/temp_sensor/rakefile.rb
ceedling-0.28.2 vendor/cmock/examples/temp_sensor/rakefile.rb
ceedling-0.28.1 vendor/cmock/examples/temp_sensor/rakefile.rb
ceedling-0.27.0 vendor/cmock/examples/temp_sensor/rakefile.rb