2022-02-20 01:25:14 +00:00
|
|
|
# KF2-BuildTools
|
|
|
|
[![title](https://img.shields.io/badge/Help-Page-w)](https://github.com/GenZmeY/KF2-BuildTools)
|
|
|
|
[![version](https://img.shields.io/github/v/tag/genzmey/KF2-BuildTools)](https://github.com/GenZmeY/KF2-BuildTools/tags)
|
|
|
|
[![docs-autoupdate](https://github.com/GenZmeY/KF2-BuildTools/actions/workflows/docs-autoupdate.yml/badge.svg)](https://github.com/GenZmeY/KF2-BuildTools/actions/workflows/docs-autoupdate.yml)
|
2023-05-09 23:53:03 +00:00
|
|
|
```text
|
2022-02-20 01:25:14 +00:00
|
|
|
Usage: ./tools/builder OPTIONS
|
|
|
|
|
2022-02-21 00:07:04 +00:00
|
|
|
Compile, brew, test and upload your kf2 packages to the Steam Workshop.
|
2022-02-20 01:25:14 +00:00
|
|
|
|
|
|
|
Available options:
|
2022-02-20 23:50:27 +00:00
|
|
|
-i, --init generate builder.cfg and PublicationContent
|
2022-02-21 00:07:04 +00:00
|
|
|
-c, --compile compile package(s)
|
2022-02-20 01:25:14 +00:00
|
|
|
-b, --brew compress *.upk and place inside *.u
|
|
|
|
-u, --upload upload package(s) to the Steam Workshop
|
2022-02-20 23:50:27 +00:00
|
|
|
-t, --test run local single player test
|
|
|
|
-f, --force overwrites existing files when used with --init
|
2022-02-20 01:25:14 +00:00
|
|
|
-q, --quiet run without output
|
2022-03-20 03:40:49 +00:00
|
|
|
-he, --hold-editor do not close kf2editor automatically
|
2022-02-20 01:25:14 +00:00
|
|
|
-nc, --no-colors do not use color output
|
|
|
|
-d, --debug print every executed command (script debug)
|
2023-05-10 03:38:42 +00:00
|
|
|
--update update build tools
|
2022-02-20 01:25:14 +00:00
|
|
|
-v, --version show version
|
|
|
|
-h, --help show this help
|
|
|
|
|
|
|
|
Short options can be combined, examples:
|
2022-09-01 15:49:02 +00:00
|
|
|
-if recreate build.cfg and PublicationContent, replace old ones
|
2022-02-20 01:25:14 +00:00
|
|
|
-cbu compile, brew, upload
|
2022-03-21 16:11:40 +00:00
|
|
|
-cbhe compile and brew without closing kf2editor
|
2022-02-20 01:25:14 +00:00
|
|
|
etc...
|
|
|
|
```
|