Install
Merodi is built from source. There are no prebuilt packages yet.
Requirements
- Go, new enough for the version in
go.mod(go 1.27.1in 0.5.2) makegit, to clone the repository
Build
git clone https://github.com/pixel2175/merodi
cd merodi
make
This writes the binary to ./merodi.
Install the binary
make install
The binary is copied to /usr/bin when you run make as root, and to ~/.local/bin otherwise. Make sure that folder is in your PATH. To install somewhere else:
make install PREFIX=$HOME/bin
Check it
merodi --version
This prints Merodi 0.5.2, followed by (git: <commit>) when you built from a git checkout.
Build with
make, not with a barego build. The Makefile sets the version string at link time. A plaingo build ./src/main.goworks, butmerodi --versionthen prints an empty version.
Make targets
| Target | What it does |
|---|---|
make |
Same as make build |
make build |
Compile ./merodi |
make install |
Build, then copy the binary to PREFIX |
make uninstall |
Delete the installed binary |
make clean |
Delete the local ./merodi binary |
make test w=ARGS |
Build, clear the screen, run ./merodi ARGS |
Uninstall
make uninstall