RacesOfValheim/.gitignore
kanym 11985d9539 build: deploy the DLL to BepInEx\plugins only, and keep dist out of git
VALHEIM_INSTALL and BEPINEX_PATH were read from machine-level environment
variables that a fresh clone does not have. With them empty every derived path
started at the drive root, so the first Copy of a build failed on a new machine.
They now default to the standard Steam install and the environment variables
still override.

The DLL has exactly one destination, BepInEx\plugins, and it goes there on Debug
builds too - that is the loop you actually iterate in. If the folder is missing
the build warns instead of failing. The Thunderstore and Nexus zips stay in
dist\ and stay Release-only.

Copying assemblies into the Unity stub project is now opt-in
(-p:CopyAssembliesToUnity=true). It rewrote a folder of game assemblies on every
build for the sake of asset authoring that most builds are not doing.

dist\ is ignored. Only a stale icon.png was ever tracked in there - the packaging
step reads the real one from JotunnModStub\Package - so it is untracked, not
deleted.
2026-08-05 10:19:47 +02:00

27 lines
436 B
Text

# .NET / C#
bin/
obj/
*.user
*.suo
*.sln.docstates
.vs/
*.pdb
# Executables and builds
*.exe
*.zip
output.txt
skills_dump.txt
temp_test_zip/
test_extract/
*.dll
# Release packaging output - a Release build drops the Thunderstore and Nexus zips here.
/dist/
# OS generated files
.DS_Store
Thumbs.db
# Windows shortcuts hold an absolute path to the machine that made them, so they
# resolve for nobody else who clones this repo.
*.lnk