Skip to content

Commit bde3d51

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 <[email protected]>
1 parent 4e56760 commit bde3d51

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
@@ -140,6 +140,8 @@ func DownloadCoresAndToolsAndLibraries(t *testing.T) {
140140
}
141141

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

0 commit comments

Comments
 (0)