Updated .gitignore to always ignore /Packages trash and C# compiler Response Files

This commit is contained in:
raccoon
2024-12-15 22:06:32 +05:00
parent 75114bc276
commit 44b11aa9e6
3 changed files with 20 additions and 15 deletions

27
.gitignore vendored
View File

@@ -1,7 +1,6 @@
# This .gitignore file should be placed at the root of your Unity project directory # This .gitignore file should be placed at the root of your Unity project directory
#
# Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore # Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore
#
/[Ll]ibrary/ /[Ll]ibrary/
/[Tt]emp/ /[Tt]emp/
/[Oo]bj/ /[Oo]bj/
@@ -50,6 +49,10 @@ ExportedObj/
*.opendb *.opendb
*.VC.db *.VC.db
# C# compiler trash, comment this out if you need to use Response Files
*.rsp
*.rsp.meta
# Unity3D generated meta files # Unity3D generated meta files
*.pidb.meta *.pidb.meta
*.pdb.meta *.pdb.meta
@@ -67,7 +70,7 @@ sysinfo.txt
# Crashlytics generated file # Crashlytics generated file
crashlytics-build.properties crashlytics-build.properties
# JetBrains stuff # JetBrains trash
.idea/* .idea/*
# Packed Addressables # Packed Addressables
@@ -77,7 +80,7 @@ crashlytics-build.properties
/[Aa]ssets/[Ss]treamingAssets/aa.meta /[Aa]ssets/[Ss]treamingAssets/aa.meta
/[Aa]ssets/[Ss]treamingAssets/aa/* /[Aa]ssets/[Ss]treamingAssets/aa/*
# VRC stuff # VRC trash
/[Aa]ssets/[Uu]don/ /[Aa]ssets/[Uu]don/
/[Aa]ssets/[Uu]don.meta /[Aa]ssets/[Uu]don.meta
/[Aa]ssets/VRCSDK/ /[Aa]ssets/VRCSDK/
@@ -88,7 +91,7 @@ crashlytics-build.properties
/[Aa]ssets/UdonSharp/Scripts/Editor.meta /[Aa]ssets/UdonSharp/Scripts/Editor.meta
/[Aa]ssets/SerializedUdonPrograms* /[Aa]ssets/SerializedUdonPrograms*
# UdonSharp stuff # UdonSharp trash
/[Aa]ssets/UdonSharp /[Aa]ssets/UdonSharp
/[Aa]ssets/UdonSharp.meta /[Aa]ssets/UdonSharp.meta
/[Aa]ssets/Merlin.meta /[Aa]ssets/Merlin.meta
@@ -96,15 +99,21 @@ crashlytics-build.properties
/[Aa]ssets/Merlin/Editor/EasyEventEditor.cs /[Aa]ssets/Merlin/Editor/EasyEventEditor.cs
/[Aa]ssets/Merlin/Editor/EasyEventEditor.cs.meta /[Aa]ssets/Merlin/Editor/EasyEventEditor.cs.meta
# OpenXR stuff # OpenXR trash
/[Aa]ssets/XR /[Aa]ssets/XR
/[Aa]ssets/XR.meta /[Aa]ssets/XR.meta
/[Pp]roject[Ss]ettings/EditorBuildSettings.asset /[Pp]roject[Ss]ettings/EditorBuildSettings.asset
# Trash stuff # Packages trash (adjust as needed)
*_cache.txt /[Pp]ackages/*/**/*
/[Pp]ackages/.*
!/[Pp]ackages/com.vrchat.core.bootstrap/**/*
# Blender stuff # Poiyomi trash
/Poi
/Thry
# Blender trash
*.blend[0-9]* *.blend[0-9]*
*.pyc *.pyc
__pycache__ __pycache__

3
Packages/.gitignore vendored
View File

@@ -1,3 +0,0 @@
/*/
#!com.vrchat.core.*/
!com.vrchat.core.bootstrap/

View File

@@ -10,8 +10,7 @@ The template have:
- Compatible with CreatorCompanion (but it may fuck up line endings!) - Compatible with CreatorCompanion (but it may fuck up line endings!)
> If VPM Resolver is not present, Bootstapper will install latest version of it which might not be compatible with older Unity versions. > If VPM Resolver is not present, Bootstapper will install latest version of it which might not be compatible with older Unity versions.
> Add `com.vrchat.core.vpm-resolver` to git, if you want to lock it > Add `com.vrchat.core.vpm-resolver` to git, if you want to lock it (you need to adjust `.gitignore` file for this).
> (you might need to adjust `Packages/.gitignore` file for this).
The repository have separate branches for separate content types, the only difference between them is default packages in `Packages/vpm-manifest.json` The repository have separate branches for separate content types, the only difference between them is default packages in `Packages/vpm-manifest.json`
> Branches structure > Branches structure
@@ -34,7 +33,7 @@ The repository have separate branches for separate content types, the only diffe
> **IMPORTANT**: When opening a previously worked on project on a new machine, Unity may warn you about script errors and suggest you enter Safe Mode, > **IMPORTANT**: When opening a previously worked on project on a new machine, Unity may warn you about script errors and suggest you enter Safe Mode,
> this is because VPM has not loaded yet and didn't resolved the required packages, ignore the errors and continue loading. > this is because VPM has not loaded yet and didn't resolved the required packages, ignore the errors and continue loading.
> Sometimes you may need to reopen the project for all scripts to recompile. > Sometimes you may need to reopen the project couple times for all packages to resolve and scripts to recompile.
## License ## License
For project's license see [LICENSE](./LICENSE) file. For project's license see [LICENSE](./LICENSE) file.