mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-06-05 21:15:20 +00:00
Clean up full header list. (Why didn't this get caught in my local tests?)
This commit is contained in:
@@ -185,8 +185,8 @@ module RakefileHelpers
|
||||
obj_list = []
|
||||
|
||||
# Detect dependencies and build required required modules
|
||||
header_list = extract_headers(test) + ['cmock.h'] + [ $cfg[:cmock][:unity_helper_path] ]
|
||||
header_list.compact.uniq.each do |header|
|
||||
header_list = (extract_headers(test) + ['cmock.h'] + [ $cfg[:cmock][:unity_helper_path] ]).compact.uniq
|
||||
header_list.each do |header|
|
||||
|
||||
#create mocks if needed
|
||||
if (header =~ /Mock/)
|
||||
|
||||
Reference in New Issue
Block a user