Sha256: ed739958ee5ab98bd834e13a06ec547a05f4cc8136cf497e16ca07ddd3720eca

Contents?: true

Size: 892 Bytes

Versions: 33

Compression:

Stored size: 892 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')
]

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'
configure_toolchain(DEFAULT_CONFIG_FILE)

task :unit => [:prepare_for_tests] 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 => [: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

33 entries across 14 versions & 1 rubygems

Version Path
ceedling-0.25.0 vendor/c_exception/vendor/unity/examples/example_3/rakefile.rb
ceedling-0.25.0 vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/rakefile.rb
ceedling-0.25.0 vendor/cmock/vendor/unity/examples/example_3/rakefile.rb
ceedling-0.25.0 vendor/unity/examples/example_3/rakefile.rb
ceedling-0.24.0 vendor/c_exception/vendor/unity/examples/example_3/rakefile.rb
ceedling-0.24.0 vendor/unity/examples/example_3/rakefile.rb
ceedling-0.24.0 vendor/cmock/vendor/unity/examples/example_3/rakefile.rb
ceedling-0.24.0 vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/rakefile.rb
ceedling-0.22.0 vendor/c_exception/vendor/unity/examples/example_3/rakefile.rb
ceedling-0.22.0 vendor/unity/examples/example_3/rakefile.rb
ceedling-0.22.0 vendor/cmock/vendor/unity/examples/example_3/rakefile.rb
ceedling-0.22.0 vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/rakefile.rb
ceedling-0.21.0 vendor/c_exception/vendor/unity/examples/example_3/rakefile.rb
ceedling-0.21.0 vendor/cmock/vendor/unity/examples/example_3/rakefile.rb
ceedling-0.21.0 vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/rakefile.rb
ceedling-0.21.0 vendor/unity/examples/example_3/rakefile.rb
ceedling-0.20.3 vendor/unity/examples/example_3/rakefile.rb
ceedling-0.20.3 vendor/c_exception/vendor/unity/examples/example_3/rakefile.rb
ceedling-0.20.3 vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/rakefile.rb
ceedling-0.20.3 vendor/cmock/vendor/unity/examples/example_3/rakefile.rb