From 95fa4c9e40ec74121e1464d2415d7a06b9c5af3d Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 12 Jan 2021 21:20:38 +0000 Subject: [PATCH] README: Adjust svg editing documentation Signed-off-by: Ian Jackson --- README.md | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 08d53e0e..9e7988c2 100644 --- a/README.md +++ b/README.md @@ -148,32 +148,33 @@ Setup rustup default nightly-2020-11-09 ``` - -** If you just want to edit and preview the shape libraries - (ie the piece shapes) you can stop here ** - - -4. Install some build tools: +4. Install the `usv` SVG launderer, which we need for shape libraries ``` cargo install usvg - cargo install bundle-sources ``` - This will put them in `~/.cargo/bin`, which you presumably have on + This will put it in `~/.cargo/bin`, which you presumably have on your PATH (or the above `rustup` and `cargo` runes wouldn't work). -5. Install the version of wasm-pack with the option I need (upstream - haven't reviewed my merge request): + +** If you just want to edit and preview the shape libraries + (ie the piece shapes) you can stop here ** + + +4. Install some more build tools: ``` + cargo install bundle-sources git clone https://github.com/ijackson/wasm-pack.git -b cargo-opts cd wasm-pack cargo install ``` - NB that wasm-pack will itself download and install more stuff when - it is run by the Otter Makefile. +wasm-pack upstream haven't reviewed my merge request. + +NB that wasm-pack will itself download and install more stuff when it +is run by the Otter Makefile. Build -- 2.30.2