mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-06-05 21:15:22 +00:00
Pull paths from reusable target information.
This commit is contained in:
@@ -21,6 +21,8 @@ module RakefileHelpers
|
||||
$cfg_file = "targets/#{config_file}"
|
||||
end
|
||||
$cfg = YamlHelper.load_file($cfg_file)
|
||||
$cfg[:paths] ||= {}
|
||||
$cfg[:paths][:test] ||= ['src/', '../src/', 'testdata/', 'tests/']
|
||||
$colour_output = false unless $cfg['colour']
|
||||
$configured = true if config_file != DEFAULT_CONFIG_FILE
|
||||
end
|
||||
|
||||
@@ -63,12 +63,6 @@
|
||||
:extension:
|
||||
:object: ".o"
|
||||
:executable: ".exe"
|
||||
:paths:
|
||||
:test:
|
||||
- src/
|
||||
- "../src/"
|
||||
- testdata/
|
||||
- tests/
|
||||
:defines:
|
||||
:test:
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
|
||||
@@ -62,12 +62,6 @@
|
||||
:extension:
|
||||
:object: ".o"
|
||||
:executable: ".exe"
|
||||
:paths:
|
||||
:test:
|
||||
- src/
|
||||
- "../src/"
|
||||
- testdata/
|
||||
- tests/
|
||||
:defines:
|
||||
:test:
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
|
||||
@@ -33,12 +33,6 @@
|
||||
:extension:
|
||||
:object: ".o"
|
||||
:executable: ".exe"
|
||||
:paths:
|
||||
:test:
|
||||
- src/
|
||||
- "../src/"
|
||||
- testdata/
|
||||
- tests/
|
||||
:defines:
|
||||
:test:
|
||||
- UNITY_EXCLUDE_STDINT_H
|
||||
|
||||
@@ -33,12 +33,6 @@
|
||||
:extension:
|
||||
:object: ".o"
|
||||
:executable: ".exe"
|
||||
:paths:
|
||||
:test:
|
||||
- src/
|
||||
- "../src/"
|
||||
- testdata/
|
||||
- tests/
|
||||
:defines:
|
||||
:test:
|
||||
- UNITY_EXCLUDE_STDINT_H
|
||||
|
||||
@@ -34,12 +34,6 @@
|
||||
:extension:
|
||||
:object: ".o"
|
||||
:executable: ".exe"
|
||||
:paths:
|
||||
:test:
|
||||
- src/
|
||||
- "../src/"
|
||||
- testdata/
|
||||
- tests/
|
||||
:defines:
|
||||
:test:
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
|
||||
@@ -33,12 +33,6 @@
|
||||
:extension:
|
||||
:object: ".o"
|
||||
:executable: ".exe"
|
||||
:paths:
|
||||
:test:
|
||||
- src/
|
||||
- "../src/"
|
||||
- testdata/
|
||||
- tests/
|
||||
:defines:
|
||||
:test:
|
||||
- UNITY_EXCLUDE_STDINT_H
|
||||
|
||||
@@ -46,12 +46,6 @@
|
||||
:extension:
|
||||
:object: ".o"
|
||||
:executable: ".exe"
|
||||
:paths:
|
||||
:test:
|
||||
- src/
|
||||
- "../src/"
|
||||
- testdata/
|
||||
- tests/
|
||||
:defines:
|
||||
:test:
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
|
||||
@@ -33,12 +33,6 @@
|
||||
:extension:
|
||||
:object: ".o"
|
||||
:executable: ".exe"
|
||||
:paths:
|
||||
:test:
|
||||
- src/
|
||||
- "../src/"
|
||||
- testdata/
|
||||
- tests/
|
||||
:defines:
|
||||
:test:
|
||||
- UNITY_EXCLUDE_MATH_H
|
||||
|
||||
Reference in New Issue
Block a user