mirror of
https://github.com/ThrowTheSwitch/CMock
synced 2025-05-18 01:59:34 -04:00
- tweaked rakefile helper to use a configurable path from yaml file
git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@187 bf332499-1b4d-0410-844d-d2d48d5cc64c
This commit is contained in:
parent
345b0c6576
commit
ea78315418
@ -185,7 +185,7 @@ module RakefileHelpers
|
||||
if (header =~ /Mock/)
|
||||
require "../lib/cmock.rb"
|
||||
@cmock ||= CMock.new($cfg_file)
|
||||
@cmock.setup_mocks(['src/'+header.gsub('Mock','')])
|
||||
@cmock.setup_mocks([$cfg['compiler']['source_path']+header.gsub('Mock','')])
|
||||
end
|
||||
|
||||
# Compile corresponding source file if it exists
|
||||
|
Loading…
x
Reference in New Issue
Block a user