Symlink build dirs outside workspace to fix Copilot image limit

- Redirect build/, .dart_tool/, ephemeral/ dirs to ../testsAndMisc_builds/
- Add .jar, .dex, **/build/, **/.dart_tool/, **/ephemeral/ to .copilotignore
- Add horatio build dirs and .dart_tool to files.exclude/search.exclude
- Gitignore symlinks without trailing / (git treats symlinks as files)
This commit is contained in:
Krzysztof kuhy Rudnicki 2026-03-29 18:46:04 +02:00
parent fa5ccdaa96
commit 45ef27b4e1
3 changed files with 27 additions and 1 deletions

View File

@ -58,6 +58,8 @@
**/*.pyc
**/*.pyo
**/*.class
**/*.jar
**/*.dex
# Data
**/*.apkg
**/*.bin
@ -83,10 +85,20 @@ node_modules/
__pycache__/
**/__pycache__/
# Build outputs
# Build outputs (symlinked to ../testsAndMisc_builds/)
pomodoro_app/build/
horatio/horatio_app/build/
sonic_pi/build/
CPP/mini_browser/build/
**/build/
# Dart / Flutter caches (symlinked to ../testsAndMisc_builds/)
**/.dart_tool/
**/ephemeral/
# Packaging build artifacts
**/packaging/**/pkg/
**/packaging/**/src/
# Generated / preview images
**/generated_images_*/

10
.gitignore vendored
View File

@ -392,3 +392,13 @@ cinema_plan_*.txt
# Binary images moved to external storage (testsAndMisc_binaries/)
python_pkg/praca_magisterska_video/images/
# Build output symlinks (point to ../testsAndMisc_builds/)
# Patterns without trailing / to match symlinks, not just directories
pomodoro_app/build
horatio/horatio_app/build
sonic_pi/build
CPP/mini_browser/build
pomodoro_app/.dart_tool
horatio/horatio_app/.dart_tool
horatio/horatio_core/.dart_tool

View File

@ -23,8 +23,10 @@
".mypy_cache": true,
"C/misc/randomJPG": true,
"pomodoro_app/build": true,
"horatio/horatio_app/build": true,
"sonic_pi/build": true,
"CPP/mini_browser/build": true,
"**/.dart_tool": true,
"python_pkg/anki_decks/**/preview_images": true,
"python_pkg/download_cats/http_cat_cache": true,
"python_pkg/articles/uploads": true,
@ -45,6 +47,8 @@
"**/*.bin": true,
"**/*.db": true,
"**/*.sqlite": true,
"**/.dart_tool": true,
"**/ephemeral": true,
"**/node_modules": true,
"python_pkg/anki_decks": true,
"python_pkg/praca_magisterska_video": true,