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}"
|
$cfg_file = "targets/#{config_file}"
|
||||||
end
|
end
|
||||||
$cfg = YamlHelper.load_file($cfg_file)
|
$cfg = YamlHelper.load_file($cfg_file)
|
||||||
|
$cfg[:paths] ||= {}
|
||||||
|
$cfg[:paths][:test] ||= ['src/', '../src/', 'testdata/', 'tests/']
|
||||||
$colour_output = false unless $cfg['colour']
|
$colour_output = false unless $cfg['colour']
|
||||||
$configured = true if config_file != DEFAULT_CONFIG_FILE
|
$configured = true if config_file != DEFAULT_CONFIG_FILE
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -63,12 +63,6 @@
|
|||||||
:extension:
|
:extension:
|
||||||
:object: ".o"
|
:object: ".o"
|
||||||
:executable: ".exe"
|
:executable: ".exe"
|
||||||
:paths:
|
|
||||||
:test:
|
|
||||||
- src/
|
|
||||||
- "../src/"
|
|
||||||
- testdata/
|
|
||||||
- tests/
|
|
||||||
:defines:
|
:defines:
|
||||||
:test:
|
:test:
|
||||||
- UNITY_INCLUDE_DOUBLE
|
- UNITY_INCLUDE_DOUBLE
|
||||||
|
|||||||
@@ -62,12 +62,6 @@
|
|||||||
:extension:
|
:extension:
|
||||||
:object: ".o"
|
:object: ".o"
|
||||||
:executable: ".exe"
|
:executable: ".exe"
|
||||||
:paths:
|
|
||||||
:test:
|
|
||||||
- src/
|
|
||||||
- "../src/"
|
|
||||||
- testdata/
|
|
||||||
- tests/
|
|
||||||
:defines:
|
:defines:
|
||||||
:test:
|
:test:
|
||||||
- UNITY_INCLUDE_DOUBLE
|
- UNITY_INCLUDE_DOUBLE
|
||||||
|
|||||||
@@ -33,12 +33,6 @@
|
|||||||
:extension:
|
:extension:
|
||||||
:object: ".o"
|
:object: ".o"
|
||||||
:executable: ".exe"
|
:executable: ".exe"
|
||||||
:paths:
|
|
||||||
:test:
|
|
||||||
- src/
|
|
||||||
- "../src/"
|
|
||||||
- testdata/
|
|
||||||
- tests/
|
|
||||||
:defines:
|
:defines:
|
||||||
:test:
|
:test:
|
||||||
- UNITY_EXCLUDE_STDINT_H
|
- UNITY_EXCLUDE_STDINT_H
|
||||||
|
|||||||
@@ -33,12 +33,6 @@
|
|||||||
:extension:
|
:extension:
|
||||||
:object: ".o"
|
:object: ".o"
|
||||||
:executable: ".exe"
|
:executable: ".exe"
|
||||||
:paths:
|
|
||||||
:test:
|
|
||||||
- src/
|
|
||||||
- "../src/"
|
|
||||||
- testdata/
|
|
||||||
- tests/
|
|
||||||
:defines:
|
:defines:
|
||||||
:test:
|
:test:
|
||||||
- UNITY_EXCLUDE_STDINT_H
|
- UNITY_EXCLUDE_STDINT_H
|
||||||
|
|||||||
@@ -34,12 +34,6 @@
|
|||||||
:extension:
|
:extension:
|
||||||
:object: ".o"
|
:object: ".o"
|
||||||
:executable: ".exe"
|
:executable: ".exe"
|
||||||
:paths:
|
|
||||||
:test:
|
|
||||||
- src/
|
|
||||||
- "../src/"
|
|
||||||
- testdata/
|
|
||||||
- tests/
|
|
||||||
:defines:
|
:defines:
|
||||||
:test:
|
:test:
|
||||||
- UNITY_INCLUDE_DOUBLE
|
- UNITY_INCLUDE_DOUBLE
|
||||||
|
|||||||
@@ -33,12 +33,6 @@
|
|||||||
:extension:
|
:extension:
|
||||||
:object: ".o"
|
:object: ".o"
|
||||||
:executable: ".exe"
|
:executable: ".exe"
|
||||||
:paths:
|
|
||||||
:test:
|
|
||||||
- src/
|
|
||||||
- "../src/"
|
|
||||||
- testdata/
|
|
||||||
- tests/
|
|
||||||
:defines:
|
:defines:
|
||||||
:test:
|
:test:
|
||||||
- UNITY_EXCLUDE_STDINT_H
|
- UNITY_EXCLUDE_STDINT_H
|
||||||
|
|||||||
@@ -46,12 +46,6 @@
|
|||||||
:extension:
|
:extension:
|
||||||
:object: ".o"
|
:object: ".o"
|
||||||
:executable: ".exe"
|
:executable: ".exe"
|
||||||
:paths:
|
|
||||||
:test:
|
|
||||||
- src/
|
|
||||||
- "../src/"
|
|
||||||
- testdata/
|
|
||||||
- tests/
|
|
||||||
:defines:
|
:defines:
|
||||||
:test:
|
:test:
|
||||||
- UNITY_INCLUDE_DOUBLE
|
- UNITY_INCLUDE_DOUBLE
|
||||||
|
|||||||
@@ -33,12 +33,6 @@
|
|||||||
:extension:
|
:extension:
|
||||||
:object: ".o"
|
:object: ".o"
|
||||||
:executable: ".exe"
|
:executable: ".exe"
|
||||||
:paths:
|
|
||||||
:test:
|
|
||||||
- src/
|
|
||||||
- "../src/"
|
|
||||||
- testdata/
|
|
||||||
- tests/
|
|
||||||
:defines:
|
:defines:
|
||||||
:test:
|
:test:
|
||||||
- UNITY_EXCLUDE_MATH_H
|
- UNITY_EXCLUDE_MATH_H
|
||||||
|
|||||||
Reference in New Issue
Block a user