added config files argument
This commit is contained in:
parent
53aeeba760
commit
820e00c0ba
1 changed files with 2 additions and 1 deletions
|
@ -209,7 +209,8 @@ func findSourcesFiles(workspace string) ([]string, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
ext := filepath.Ext(info.Name())
|
ext := filepath.Ext(info.Name())
|
||||||
if ext == ".c" || ext == ".cpp" {
|
if ext == ".c" || ext == ".cpp" || ext == ".cc" || ext == ".h" || ext == ".hpp" ||
|
||||||
|
ext == ".hcc" {
|
||||||
filenames = append(filenames, path)
|
filenames = append(filenames, path)
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Add table
Reference in a new issue