mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
10 lines
249 B
Ruby
10 lines
249 B
Ruby
|
|
||
|
|
||
|
rule(/#{CMOCK_MOCK_PREFIX}.+#{'\\'+EXTENSION_SOURCE}$/ => [
|
||
|
proc do |task_name|
|
||
|
@ceedling[:file_finder].find_header_input_for_mock_file(task_name)
|
||
|
end
|
||
|
]) do |mock|
|
||
|
@ceedling[:generator].generate_mock(TEST_SYM, mock.source)
|
||
|
end
|