Skip to content

Commit

Permalink
拷贝头文件时也拷贝子目录下的头文件,避免遗漏
Browse files Browse the repository at this point in the history
  • Loading branch information
dirtmelon committed May 29, 2021
1 parent 59eb0ca commit 4d7d9af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def copy_headers
raise "copy_headers #{spec_header_dir} no exist " unless File.exist?(spec_header_dir)

Dir.chdir(spec_header_dir) do
headers = Dir.glob('*.h')
headers = Dir.glob('**/*.h')
headers.each do |h|
public_headers << Pathname.new(File.join(Dir.pwd,h))
end
Expand Down

0 comments on commit 4d7d9af

Please sign in to comment.