mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-06-18 12:51:44 +08:00

- updated unity helper examples to get them working again - got examples running again git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@65 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
38 lines
806 B
Ruby
38 lines
806 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 => [:no_color, :default]
|
|
task :cruise => [: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
|