-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
118: rework release archive creation r=saem a=alaviss This is a big change, but most of it circles around the model of archive creation embedded in niminst. Previously niminst have two modes of operations: either it creates a binary zip archive for Windows, or it creates a source tar.xz archive for Unix. This commit refactored that into three new pieces: - `archive`: The main command to create a release archive. By default this archive contains only source code, and the source archive can be used to create binary archives. - `--format`: A switch allowing selection of the release archive format. - `--binaries`: A switch that set archive build mode to "binary archive", where either windows or unix (or both) binaries will be included in the archive. In this mode, files not relevant to the target platforms will also be omitted. With these, koch is now equipped with some "new" commands: - `archive`: Create a source archive - `winrelease`: Create a binary zip archive for Windows - `unixrelease`: Create a binary tarball for Unix-like Some are removed: - `testinstall`: Automated test to see if Unix binaries can be built from sources. Currently have too many assumptions on the way the old architecture work, so it is axed for now. - `zip`: superseded by `winrelease` - `xz`: superseded by `archive` And finally, `installer.ini` is updated to synchronize the binary list with what is actually built. Depends on #117 Co-authored-by: Leorize <leorize+oss@disroot.org>
- Loading branch information
Showing
3 changed files
with
138 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.