Install

Merodi is built from source. There are no prebuilt packages yet.

Requirements

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 bare go build. The Makefile sets the version string at link time. A plain go build ./src/main.go works, but merodi --version then 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