Rewrite the .dockerignore file into a denylist

This should help with not forgetting to add any new directories (such as
TShockInstaller and TShockPluginManager, which have been missing until
now).
This commit is contained in:
Tim Schumacher 2023-09-22 22:30:18 +02:00
parent b1a054472f
commit 60599ef5b5
2 changed files with 20 additions and 14 deletions

View file

@ -1,15 +1,20 @@
# ignore every file # Ignore all Git metadata and build output (in all directories).
* **/.git*
**/bin/
**/obj/
# except for the ones required for building # Ignore other specific files that aren't needed for the build itself.
!i18n/ /.all-contributorsrc
!prebuilts/ /.dockerignore
!TerrariaServerAPI/ /.editorconfig
!TShockAPI/ /.vscode
!TShockLauncher/ /appveyor.yml
!TShockLauncher.Tests/ /COPYING
!TShock.sln /crowdin.yml
/Dockerfile
# but exclude build artifacts /docs
*/bin/ /README.md
*/obj/ /README_cn.md
/renovate.json
/scripts
/SECURITY.md

View file

@ -89,6 +89,7 @@ Use past tense when adding new entries; sign your name off when you add or chang
* Added a method `TSPlayer.GiveItem`, which has `TShockAPI.NetItem` structure in its arguments. (@AgaSpace) * Added a method `TSPlayer.GiveItem`, which has `TShockAPI.NetItem` structure in its arguments. (@AgaSpace)
* Added a property `TSPlayer.Hostile`, which gets pvp player mode. (@AgaSpace) * Added a property `TSPlayer.Hostile`, which gets pvp player mode. (@AgaSpace)
* Fixed typo in `/gbuff`. (@sgkoishi, #2955) * Fixed typo in `/gbuff`. (@sgkoishi, #2955)
* Rewrote the `.dockerignore` file into a denylist. (@timschumi)
## TShock 5.2 ## TShock 5.2
* An additional option `pvpwithnoteam` is added at `PvPMode` to enable PVP with no team. (@CelestialAnarchy, #2617, @ATFGK) * An additional option `pvpwithnoteam` is added at `PvPMode` to enable PVP with no team. (@CelestialAnarchy, #2617, @ATFGK)