# Repository-root ignores.
#
# Unity-specific rules live in NightclubArcadia/.gitignore — the upstream Unity
# template anchors every path with a leading "/", so it only works when placed
# at the root of the Unity project folder, not here.
#
# Rules below cover macOS (Apple Silicon), IDEs, and toolchains.
# Sources: https://github.com/github/gitignore/tree/main/Global

# ---------------------------------------------------------------------------
# macOS
# ---------------------------------------------------------------------------
.DS_Store
.DS_Store?
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# ---------------------------------------------------------------------------
# Xcode — Unity emits an Xcode project for iOS/visionOS/macOS player builds
# ---------------------------------------------------------------------------
xcuserdata/
*.xcuserstate
*.xcscmblueprint
*.xccheckout
DerivedData/
*.moved-aside
*.hmap
*.ipa
*.dSYM.zip
*.dSYM

# CocoaPods / Swift Package Manager (post-build iOS integrations)
Pods/
.swiftpm/
*.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist

# Provisioning + signing material — never commit
*.mobileprovision
*.provisionprofile
*.p12
*.cer
*.certSigningRequest

# ---------------------------------------------------------------------------
# IDEs / editors
# ---------------------------------------------------------------------------
# JetBrains Rider (the common Unity IDE on Apple Silicon)
.idea/
*.sln.iml
*.DotSettings.user

# Visual Studio / VS Code
.vs/
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/extensions.json
*.code-workspace

# Vim / Emacs / misc
*.swp
*.swo
*~
\#*\#
.\#*
.netrwhist

# ---------------------------------------------------------------------------
# Homebrew / toolchain / local dev
# ---------------------------------------------------------------------------
.direnv/
.envrc.local
.env
.env.local
*.local

# Node (used by some Unity web/tooling pipelines)
node_modules/
npm-debug.log*
yarn-error.log*

# Python venvs (build/asset scripts)
.venv/
__pycache__/
*.py[cod]

# ---------------------------------------------------------------------------
# .NET tooling under tools/ (Unity's own Library/ ignores live in the Unity
# project's .gitignore and don't reach this far up)
# ---------------------------------------------------------------------------
tools/**/bin/
tools/**/obj/

# ---------------------------------------------------------------------------
# AI / agent tooling
# ---------------------------------------------------------------------------
.claude/settings.local.json

# ---------------------------------------------------------------------------
# Archives & large binaries that should go through Git LFS instead
# ---------------------------------------------------------------------------
*.zip
*.tar.gz
*.7z
*.rar

# ---------------------------------------------------------------------------
# Local build and test output (Makefile targets)
# ---------------------------------------------------------------------------
/.test-results/
/build/
