Crates.io | melatonin |
lib.rs | melatonin |
version | 0.7.8 |
source | src |
created_at | 2024-02-03 17:22:18.259426 |
updated_at | 2024-03-11 19:57:44.983938 |
description | A version manager for the BYOND environment |
homepage | |
repository | https://github.com/atakiya/melatonin/ |
max_upload_size | |
id | 1125546 |
size | 118,134 |
A version manager for the Build Your Own Net Dream (BYOND) software.
Contributions and improvements are very welcome, as this is my first Rust-based project.
build from source via
cargo install melatonin
or, with cargo binstall
cargo binstall melatonin
To quickly get started from scratch:
bvm setup
to setup the shims and PATHbvm install latest
cd your/byondproject/path/here
bvm pin latest
And done!
Now simply invoke your tools as usual, such as
dm project.dme
- run the CLI compiler against your environmentdd project.dmb
- run the CLI server against your built binary (BYOND 515+)dreammaker project.dme
- run the GUI editor/compilerFor the currently installed versions, run bvm list
For all commands and help, simply run bvm --help
Container images are released along with semver tags
Images are tagged as (example semver v1.2.3
)
v1.2.3
- full versionv1.2
- major and minorv1
- majorlatest
Example Dockerfile
for a BYOND project previously pinned with melatonin:
FROM ghcr.io/atakiya/melatonin
WORKDIR /app
# Assuming you're building from your project's root
COPY . .
# Setup shims and install the in the project pinned version of BYOND
RUN bvm setup \
bvm install $(cat .byondversion)\
# Compile the project
RUN DreamMaker -verbose *.dme
# And run a dedicated server!
ENTRYPOINT [ "DreamDaemon" ]
CMD [ "*.dmb", "5513", "-invisible", "-trusted" ]
See LICENSE.md for more information.
Copyright ©️ 2024 Avunia Takiya - All Rights Reserved
Build Your Own Net Dream is Copyright ©️ BYOND Software