Sha256: 52800d045e67262e1bd53f9867417b6fc1f56eb7cf446bcbaa20dba0c41f10a8

Contents?: true

Size: 1.08 KB

Versions: 14

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]
# ==========================================

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

require 'rake'
require 'rake/clean'
require 'rake/testtask'
require HERE + 'rakefile_helper'

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

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

task prepare_for_tests: TEMP_DIRS

include RakefileHelpers

# 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
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

14 entries across 6 versions & 2 rubygems

Version Path
simdjson-0.3.0 vendor/simdjson/dependencies/cJSON/tests/unity/extras/fixture/rakefile.rb
ceedling-0.30.0 vendor/c_exception/vendor/unity/extras/fixture/rakefile.rb
ceedling-0.30.0 vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/rakefile.rb
ceedling-0.28.3 vendor/unity/extras/fixture/rakefile.rb
ceedling-0.28.3 vendor/cmock/vendor/unity/extras/fixture/rakefile.rb
ceedling-0.28.2 vendor/unity/extras/fixture/rakefile.rb
ceedling-0.28.1 vendor/unity/extras/fixture/rakefile.rb
ceedling-0.28.1 vendor/c_exception/vendor/unity/extras/fixture/rakefile.rb
ceedling-0.28.1 vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/rakefile.rb
ceedling-0.28.1 vendor/cmock/vendor/unity/extras/fixture/rakefile.rb
ceedling-0.27.0 vendor/c_exception/vendor/unity/extras/fixture/rakefile.rb
ceedling-0.27.0 vendor/unity/extras/fixture/rakefile.rb
ceedling-0.27.0 vendor/cmock/vendor/unity/extras/fixture/rakefile.rb
ceedling-0.27.0 vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/rakefile.rb