Crates.io | butlerswarm |
lib.rs | butlerswarm |
version | 0.9.1 |
source | src |
created_at | 2022-07-05 18:00:57.582558 |
updated_at | 2022-08-27 15:29:34.603145 |
description | Helper for automating uploads to itch.io via butler. |
homepage | |
repository | https://gitlab.com/zacryol/butlerswarm |
max_upload_size | |
id | 619885 |
size | 69,463 |
Wrapper program to help manage multiple builds with itch.io's butler tool.
butlerswarm generate
- Write out a template config file.
butlerswarm push
- Execute the butler
commands as defined in the toml to upload.
butlerswarm print
- Print out the command text (for testing the toml).
butlerswarm dry-run
- Execute butler
commands with the --dry-run
flag, showing what files will be pushed.
The progam reads from a .butlerswarm-cfg.toml
file, formatted like:
itch_account_name = "my-cool-name"
itch_game = "my-cool-game"
base_dir = "build"
[channels.windows]
[channels.linux]
The username, project name, channels and directories are used to assemble and execute butler
commands.
The example shown will run the commands upon executing butlerswarm push
:
butler push build/windows my-cool-name/my-cool-game:windows
butler push build/linux my-cool-name/my-cool-game:linux
For more detail, see TOML_SPEC.md
butler
(or butler.exe
for windows) must be present in your PATH
(or at the location otherwise specified), and authenticated to the desired itch account, either via running butler login
or the BUTLER_API_KEY
environment.
So far, this program has only been tested on Linux, but should in theory run on Windows, OSX.
Licensed under the Apache License, Version 2.0 (the "License"), or the MIT license;
See LICENSE or LICENSE-MIT.