Griftlands

Griftlands

Ei tarpeeksi arvosteluja
Ignore File
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
4.700 KB
7.4. klo 23.00
1 muutos ( näytä )

Tilaa ladataksesi
Ignore File

Kuvaus
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!