Skip to content

Commit

Permalink
chore: release 0.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
squattingmonk committed Aug 19, 2022
1 parent b2bc828 commit 2281fe5
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 8 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# nasher changelog

## 0.19.0: Auguest 19, 2022

### Added ability to set module description for module targets
([#102](https://github.com/squattingmonk/nasher/pull/102))

The `modDescription` field is available in the `[target]` section of
`nasher.cfg` and can be overridden using the `--modDescription` command-line
parameter.

Thanks, @tinygiant98!

---

Details: https://github.com/squattingmonk/nasher/compare/0.18.2...0.19.0


## 0.18.2: June 22, 2022

Fix: relative paths passed to `--nssCompiler` are now relative to the package
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN dpkg --add-architecture i386 \
&& apt upgrade -y \
&& apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 -y \
&& rm -fr /var/lib/apt/lists/* /root/.cache/* /usr/share/doc/* /var/cache/man/*
ARG NASHER_VERSION="0.18.2"
ARG NASHER_VERSION="0.19.0"
ARG NASHER_USER_ID=1000
RUN adduser nasher --disabled-password --gecos "" --uid ${NASHER_USER_ID}
RUN echo "nasher ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && usermod -aG sudo nasher
Expand Down
22 changes: 16 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ version control and team collaboration.
* nasher uses json or [NWNT](https://github.com/WilliamDraco/NWNT) for its text
file format.

This guide is current as of nasher release 0.17.x.
This guide is current as of nasher release 0.19.x.

* [Installation Options](#installation-options)
* [Binary Releases](#binary-releases)
Expand Down Expand Up @@ -353,6 +353,7 @@ Some fields, while optional, are inherited from the package by
| `branch` | no | the git branch to use for source files |
| `modName` | no | the name to give a module target file |
| `modMinGameVersion` | no | the minimum game version to run a module target file |
| `modDescription` | no | the description for a module target file |

#### `[target]`

Expand All @@ -370,6 +371,7 @@ the [`[package]`](#package) section if they are not set for this target.
| `branch` | no | yes | the git branch to use for source files |
| `modName` | no | yes | the name to give a module target file |
| `modMinGameVersion` | no | yes | the minimum game version to run a module target file |
| `modDescription` | no | yes | the description for a module target file |

#### `[*.sources]`

Expand Down Expand Up @@ -693,6 +695,10 @@ by passing the key/value pair as an option to the command.
generated by the target. Only relevant when `convert` will be called.
- default: ""
- note: if blank, the version in the `module.ifo` file will be unchanged.
- `modDescription`: the description for a module file generated by a target.
Only relevant when `convert` will be called.
- default: ""
- note: If blank, the description in the `module.ifo` file will be unchanged.
- `onMultipleSources`: an action to perform when multiple source files of the
same name are found for a target.
- default: `choose`
Expand Down Expand Up @@ -856,11 +862,12 @@ separately unless you want to convert files without compiling and packing.

#### Options

| Argument | Description |
| --- | --- |
| `--clean` | clears the cache before packing |
| `--modName` | sets the `Mod_Name` value in `module.ifo` |
| `--modMinGameVersion` | sets the `Mod_MinGameVersion` value in `module.ifo` |
| Argument | Description |
| --- | --- |
| `--clean` | clears the cache before packing |
| `--modName:<name>` | sets the `Mod_Name` value in `module.ifo` to `<name>` |
| `--modMinGameVersion:<version>` | sets the `Mod_MinGameVersion` value in `module.ifo` to `<version>` |
| `--modDescription:<desc>` | sets the `Mod_Description` value in `module.ifo` to `<desc>` |

#### Examples

Expand Down Expand Up @@ -956,6 +963,7 @@ run it separately unless you want to pack files without installing.
| `--noCompile` | do not recompile updated scripts |
| `--modName:<name>` | sets the `Mod_Name` value in `module.ifo` to `<name>` |
| `--modMinGameVersion:<version>` | sets the `Mod_MinGameVersion` value in `module.ifo` to `<version>` |
| `--modDescription:<desc>` | sets the `Mod_Description` value in `module.ifo` to `<desc>` |
| `--abortOnCompileError` | abort packing if errors encountered during compilation |

#### Examples
Expand Down Expand Up @@ -1002,6 +1010,7 @@ the module (`.mod`) file.
| `--installDir:<dir>` | the location of the NWN user directory |
| `--modName:<name>` | sets the `Mod_Name` value in `module.ifo` to `<name>` |
| `--modMinGameVersion:<version>` | sets the `Mod_MinGameVersion` value in `module.ifo` to `<version>` |
| `--modDescription:<desc>` | sets the `Mod_Description` value in `module.ifo` to `<desc>` |
| `--abortOnCompileError` | abort installation if errors encountered during compilation |

#### Examples
Expand Down Expand Up @@ -1040,6 +1049,7 @@ command is only valid for module targets.
| `--installDir:<dir>` | the location of the NWN user directory |
| `--modName:<name>` | sets the `Mod_Name` value in `module.ifo` to `<name>` |
| `--modMinGameVersion:<version>` | sets the `Mod_MinGameVersion` value in `module.ifo` to `<version>` |
| `--modDescription:<desc>` | sets the `Mod_Description` value in `module.ifo` to `<desc>` |
| `--abortOnCompileError` | abort launching if errors encountered during compilation |
| `--gameBin:<path>` | path to the `nwmain` binary file |
| `--serverBin:<path>` | path to the `nwserver` binary file |
Expand Down
2 changes: 1 addition & 1 deletion nasher.nimble
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Package

version = "0.18.2"
version = "0.19.0"
author = "Michael A. Sinclair"
description = "A build tool for Neverwinter Nights projects"
license = "MIT"
Expand Down

0 comments on commit 2281fe5

Please sign in to comment.