Commit 3be2287
Don't scan hidden directories in arduino-builder (.git, etc.) (#366)
* Don't scan hidden directories in arduino-builder
Arduino-builder scans the core to determine if core config files have
changed between invocations. Unfortunately, it goes into SCCS dirs
such as .git (which can have 100,000+ files). This is wasted effort
and can cause massive amounts of runtime and memory use when core
developers are building in their git clones.
Use a new function already added by the builder/utils.go to determine
if a file or folder is SCCS, and if so skip it in the rebuild-required
check.
Fixes arduino/arduino-builder#327
Signed-off-by: Earle F. Philhower, III <earlephilhower@yahoo.com>
* Add comment to force rebuild1 parent c0d3fa2 commit 3be2287
1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | | - | |
159 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
160 | 164 | | |
161 | | - | |
162 | 165 | | |
163 | 166 | | |
164 | 167 | | |
| |||
0 commit comments