From: Ian Jackson Date: Wed, 9 Jun 2021 16:47:46 +0000 (+0100) Subject: docs: build.rst: Section for how to build just the cli X-Git-Tag: otter-0.7.1~8 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=0a3456a2c55ea5bc767e7bf3dd2e8c9725edba53;p=otter.git docs: build.rst: Section for how to build just the cli Signed-off-by: Ian Jackson --- diff --git a/docs/build.rst b/docs/build.rst index 6bf0eca0..d90eb5af 100644 --- a/docs/build.rst +++ b/docs/build.rst @@ -61,8 +61,8 @@ Setup and just dump the resulting ``geckodriver`` binary on your ``PATH``. -Build ------ +Full build +---------- :: @@ -73,6 +73,20 @@ Build Expect to see ``it worked`` at the end. If you don't see that, it failed, and the error message is buried in the scrollback. +Build just the command line game management client `otter` +.......................................................... + +:: + cargo build -p otter-cli + +and then copy ``target/debug/otter`` onto your path. + +Alternatively, you can let ``cargo`` directly install and download the +latest released version: + +:: + cargo install otter-cli + Build just the shape library preview ....................................