Sha256: 7a1113adb71787b2ae7cd29fe9a5c7b50dec87c041aa6500aaa836ae2c4a0d4f

Contents?: true

Size: 884 Bytes

Versions: 14

Compression:

Stored size: 884 Bytes

Contents

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

require 'rake'
require 'rake/clean'
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 = 'target_gcc_32.yml'.freeze
configure_toolchain(DEFAULT_CONFIG_FILE)

task unit: [:prepare_for_tests] do
  run_tests unit_test_files
end

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

desc 'Build and test Unity'
task all: %i(clean unit summary)
task default: %i(clobber all)
task ci: [:default]
task cruise: [:default]

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

Version data entries

14 entries across 6 versions & 2 rubygems

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