testsAndMisc/.binary-allowlist
Krzysztof kuhy Rudnicki fc185b835f
Some checks failed
Pre-commit checks / pre-commit (push) Waiting to run
Shell tests / shell-tests (push) Waiting to run
Shell tests / arch-tests (push) Waiting to run
billsplit CI / quality (push) Has been cancelled
billsplit: drop the four unused platform runner directories
windows/ (18 files), macos/ (28), ios/ (40) and linux/ (10) were flutter
create scaffolding that nothing in this repo builds: billsplit-ci.yml runs
pub get, dart format, analyze, test and the Python coverage gate, with no
flutter build step for any platform, and no script or doc invokes one
either. 96 tracked files, 4188 lines.

This also removes win32_window.cpp (288 lines), the last over-cap C++
file. It could not be split honestly - flutter regenerates it - so
deleting the target it belongs to is the honest way off the list.
Over-cap: 41 -> 40, and the cpp category is now empty.

Unpicked all three references: the .binary-allowlist icon entries and the
.gitignore un-ignore rules that existed only to let those icons past the
binary block, plus the README claim that the repo ships without platform
runner folders (false while 96 were tracked, true again now).

The four dirs are now gitignored so `flutter create` regenerates them
locally without re-tracking them. Verified by actually running
`flutter create . --platforms=linux,windows,macos,ios`: git add -An then
refuses all four as ignored. analyze/test/format stay green, 60 tests.

analysis_options.yaml is deliberately untouched - flutter analyze rewrites
the platform excludes back on every run, so removing them is not durable.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011w2Pj4Ek3ZNMQVYcFHgXDY
2026-08-17 11:14:32 +02:00

24 lines
1.3 KiB
Plaintext

# Binary/image files explicitly allowed in this repo.
#
# One glob pattern per line, matched against repo-relative paths by
# meta/scripts/check_no_binaries.sh using bash `case` globbing (so `*` DOES
# cross `/`). Blank lines and `#` comments are ignored.
#
# The default rule stands: binaries belong in ../testsAndMisc_binaries/, not
# here. The only exception is files a build genuinely cannot run without.
# Every pattern below must also have a matching `!` override at the end of
# .gitignore, or git will silently drop the file.
# ---------------------------------------------------------------------------
# billsplit (Flutter) — platform launcher icons and launch images.
# These are build inputs: `flutter build` for android/ios/macos/windows fails
# without them, so they cannot be symlinked out to a sibling directory without
# breaking a fresh clone. Patterns are globs (not literal paths) so they keep
# working when the icon set is regenerated by the app-icon generator.
# ---------------------------------------------------------------------------
billsplit/assets/icon/*.svg
billsplit/assets/icon/*.png
billsplit/android/app/src/main/res/mipmap-*/ic_launcher.png
billsplit/android/app/src/main/res/drawable-*/ic_launcher_foreground.png
billsplit/android/app/src/main/res/drawable-*/ic_launcher_monochrome.png