Add resolveCollection task: resolves config.toml like server startup and prints results.
This commit is contained in:
1 parent
8484d6c20c
commit
e07e946a87
8 files changed
+122
-18
No files matched your search
@@ -155,6 +155,9 @@ download (see ZomboidForge's mod development guide).
|
||||
```shell
|
||||
./gradlew build # compiles, tests, checks the mod against the game, and packs build/distributions/
|
||||
./gradlew runServer # a ZomboidForge server in a container with the mod (default settings: idle)
|
||||
|
||||
# What a config.toml resolves to, the way the server does it at startup, without a server:
|
||||
./gradlew -q resolveCollection --args=path/to/config.toml
|
||||
```
|
||||
|
||||
`runServer` mounts the mod read-only, so it runs with the default settings, in which the mod
|
||||
@@ -164,7 +167,8 @@ directory (or set `zomboidForge.deployDirectory` and run `./gradlew deployMod`)
|
||||
|
||||
Pushing a tag `v<version>` that matches `version` in `build.gradle.kts` builds the mod and
|
||||
publishes it as a release (`.gitea/workflows/release.yml`, `ci/release.sh`). Tags containing
|
||||
`-` (e.g. `v0.2.0-rc.1`) are built and tested but not released.
|
||||
`-` (e.g. `v0.2.0-rc.1`) and tags on commits that are not on `master` are built and tested but
|
||||
not released.
|
||||
|
||||
## License
|
||||
|
||||
|
||||
Reference in new issue
Block a user