Sha256: 8cc32bed85f6fad91db490215d3ec066c51ff9a2c51410bc1e1a9fac20af8f1e

Contents?: true

Size: 1.08 KB

Versions: 4

Compression:

Stored size: 1.08 KB

Contents

# ==========================================
#   Unity Project - A Test Framework for C
#   Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
#   [Released under MIT License. Please refer to license.txt for details]
# ==========================================

require 'rake'
require 'rake/clean'
require 'rake/testtask'
require_relative 'rakefile_helper'

TEMP_DIRS = [
  File.join(__dir__, 'build')
].freeze

TEMP_DIRS.each do |dir|
  directory(dir)
  CLOBBER.include(dir)
end

task prepare_for_tests: TEMP_DIRS

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

task unit: [:prepare_for_tests] do
  run_tests(false)
  run_tests(true)
end

desc 'Build and test Unity Framework'
task all: %i[clean unit]
task default: %i[clobber all]
task ci: %i[no_color default]
task cruise: %i[no_color default]

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

task :no_color do
  $colour_output = false
end

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
ceedling-0.29.1 vendor/cmock/vendor/unity/extras/memory/rakefile.rb
ceedling-0.29.1 vendor/unity/extras/memory/rakefile.rb
ceedling-0.29.0 vendor/cmock/vendor/unity/extras/memory/rakefile.rb
ceedling-0.29.0 vendor/unity/extras/memory/rakefile.rb