Skip to content

Commit 7fb7e76

Browse files
Remove empty downloaded_* directories
These are created automatically when their contents is actually downloaded during testing, so there is no need to keep empty directories in git. By removing them it is possible to share the same directories between multiple git working trees, by simply making symlinks (which was not possible before without ending up with a modified working tree). Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl>
1 parent 708343b commit 7fb7e76

File tree

7 files changed

+3
-8
lines changed

7 files changed

+3
-8
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
downloaded_*

src/arduino.cc/builder/test/downloaded_board_manager_stuff/.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/arduino.cc/builder/test/downloaded_hardware/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/arduino.cc/builder/test/downloaded_libraries/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/arduino.cc/builder/test/downloaded_stuff_patches/.gitkeep

Whitespace-only changes.

src/arduino.cc/builder/test/downloaded_tools/.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/arduino.cc/builder/test/helper_tools_downloader.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ func DownloadCoresAndToolsAndLibraries(t *testing.T) {
139139
}
140140

141141
func patchFiles(t *testing.T) {
142+
err := utils.EnsureFolderExists(PATCHES_FOLDER)
143+
NoError(t, err)
142144
files, err := ioutil.ReadDir(PATCHES_FOLDER)
143145
NoError(t, err)
144146

0 commit comments

Comments
 (0)