mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-06-06 05:25:29 +00:00
8c03f7b200
git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@168 bf332499-1b4d-0410-844d-d2d48d5cc64c
34 lines
733 B
Ruby
34 lines
733 B
Ruby
HERE = File.expand_path(File.dirname(__FILE__)) + '/'
|
|
|
|
#require HERE + 'config/environment'
|
|
require 'rake'
|
|
require 'rake/clean'
|
|
require 'rake/testtask'
|
|
require 'rakefile_helper'
|
|
|
|
include RakefileHelpers
|
|
|
|
# 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 => [:clobber, :all]
|
|
task :ci => [:default]
|
|
task :cruise => [:default]
|
|
|
|
desc "Load configuration"
|
|
task :config, :config_file do |t, args|
|
|
configure_toolchain(args[:config_file])
|
|
end
|