Griftlands

Griftlands

Ikke nok vurderinger
Ignore File
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Filstørrelse:
Offentliggjort:
4.700 KB
7. apr. kl. 23:00
1 ændringsbemærkning ( vis )

Abonner for at downloade
Ignore File

Beskrivelse
Notice: This mod is for modders.
Ignore File
When you are uploading a mod to Steam Workshop, you may want to ignore some files instead of uploading .git directory, etc. This mod will help you to ignore files when uploading through a .workshopignore file.
Notice: This mod is still in development, and may not work as expected. Please do not put any private information in the mod files.
Another notice: This mod is only tested on Windows. If you are using Linux or MacOS, please let me know if it works for you.

This mod is available under the Apache 2.0 License on Gthub[github.com].
Requirements
Windows: Git for Windows
POSIX: Git, GNU Coreutils(always shipping with your Linux)
Usage
After installing the mod, you can create a .workshopignore file in the mod root directory. The format is same as .gitignore.
How does it work?
  1. The mod will read the .workshopignore file in the mod root directory. If the file does not exist, it will upload the mod without anything change.
  2. When you upload the mod, the mod will hard-link the files and directories that are not matched by the patterns in the .workshopignore file to $TEMP. This is done by git ls-files.
  3. The mod will then upload the linked files and directories to Steam Workshop.
Enjoy!