File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -134,11 +134,13 @@ def main():
134134 args = parser .parse_args ()
135135
136136 # Allow running from root directory as well as from inside the tools directory
137- rootDir = "../addons "
138- if (os .path .exists ("addons " )):
139- rootDir = "addons "
137+ rootDir = "../Framework "
138+ if (os .path .exists ("Framework " )):
139+ rootDir = "Framework "
140140
141141 for root , dirnames , filenames in os .walk (rootDir + '/' + args .module ):
142+ if ".git" in root :
143+ continue
142144 for filename in fnmatch .filter (filenames , '*.cpp' ):
143145 sqf_list .append (os .path .join (root , filename ))
144146 for filename in fnmatch .filter (filenames , '*.hpp' ):
Original file line number Diff line number Diff line change @@ -168,11 +168,13 @@ def main():
168168 args = parser .parse_args ()
169169
170170 # Allow running from root directory as well as from inside the tools directory
171- rootDir = "../addons "
172- if (os .path .exists ("addons " )):
173- rootDir = "addons "
171+ rootDir = "../Framework "
172+ if (os .path .exists ("Framework " )):
173+ rootDir = "Framework "
174174
175175 for root , dirnames , filenames in os .walk (rootDir + '/' + args .module ):
176+ if ".git" in root :
177+ continue
176178 for filename in fnmatch .filter (filenames , '*.sqf' ):
177179 sqf_list .append (os .path .join (root , filename ))
178180
You can’t perform that action at this time.
0 commit comments