Skip to content

Commit

Permalink
Merge pull request #2971 from timschumi/new-docker-dirs
Browse files Browse the repository at this point in the history
Rewrite the .dockerignore file into a denylist
  • Loading branch information
hakusaro authored Oct 21, 2023
2 parents b1a0544 + 60599ef commit 5d585bb
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
33 changes: 19 additions & 14 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -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
!i18n/
!prebuilts/
!TerrariaServerAPI/
!TShockAPI/
!TShockLauncher/
!TShockLauncher.Tests/
!TShock.sln

# but exclude build artifacts
*/bin/
*/obj/
# Ignore other specific files that aren't needed for the build itself.
/.all-contributorsrc
/.dockerignore
/.editorconfig
/.vscode
/appveyor.yml
/COPYING
/crowdin.yml
/Dockerfile
/docs
/README.md
/README_cn.md
/renovate.json
/scripts
/SECURITY.md
1 change: 1 addition & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 property `TSPlayer.Hostile`, which gets pvp player mode. (@AgaSpace)
* Fixed typo in `/gbuff`. (@sgkoishi, #2955)
* Rewrote the `.dockerignore` file into a denylist. (@timschumi)

## TShock 5.2
* An additional option `pvpwithnoteam` is added at `PvPMode` to enable PVP with no team. (@CelestialAnarchy, #2617, @ATFGK)
Expand Down

0 comments on commit 5d585bb

Please sign in to comment.