1 unstable release
0.6.0 | Dec 13, 2021 |
---|
#686 in Games
26KB
719 lines
gmbm
Binary module manager for garrysmod.
Commands
init
- Initializes gmbm at the program's dir. You will need to run this when first installing gmbm in the future, but right now it is optional.clone
- Clones a github repo into a cache to be built withbuild
.build
- Builds a repo into a DLL to be installed withinstall
.install
- Moves a DLL from an existing and compiled package into thegarrysmod/lua/bin
folder.verify
- Verifies the integrity of a package's DLL. (Does basic checks for now.)
Supported Languages / Compilers
- Rust (Cargo)
- C/C++ (MSBuild & CMake)
Installation
- Download the latest exe from the releases page or from github actions artifacts.
- Add the directory you put the exe in to your PATH.
Package Install Example
# Download the git repo on your machine (Also downloads submodules ofc)
gmbm clone https://github.com/Derpius/VisTrace
# Build the .dll
gmbm build vistrace
# Place the DLL in your gmod directory as gmcl_vistrace_win64.dll (Changes depending on your arch and machine)
gmbm install vistrace
# From here, just require("vistrace") inside of gmod, and you're good to go!
Dependencies
~12–23MB
~327K SLoC