From b91480b5af1a6376505fad9aa90cf574e6670356 Mon Sep 17 00:00:00 2001 From: Mechiel Lukkien Date: Tue, 12 Mar 2024 09:41:09 +0100 Subject: [PATCH] add /b/ to website that explains how to compile mox, or gives a link to gobuild the location.hash is used as the version to link to. this can be a tag (release, e.g. v0.0.1), branch (e.g. main), or commit hash. --- README.md | 2 +- genwebsite.sh | 59 ++++++++++++++++++++++++++++++++++++++++ website/install/index.md | 2 +- 3 files changed, 61 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 03d535b..7d679e6 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ for other platforms. # Compiling You can easily (cross) compile mox yourself. You need a recent Go toolchain -installed. Run `go version`, it must be >= 1.20. Download the latest version +installed. Run `go version`, it must be >= 1.21. Download the latest version from https://go.dev/dl/ or see https://go.dev/doc/manage-install. To download the source code of the latest release, and compile it to binary "mox": diff --git a/genwebsite.sh b/genwebsite.sh index d0d2742..5b37519 100755 --- a/genwebsite.sh +++ b/genwebsite.sh @@ -54,3 +54,62 @@ mkdir html/commands mkdir html/protocols go run website.go -protocols 'Protocols' <../rfc/index.txt >html/protocols/index.html + +mkdir html/b +cat <<'EOF' >html/b/index.html + + + + + mox build + + + + + + + + +EOF diff --git a/website/install/index.md b/website/install/index.md index 8d61af7..d601840 100644 --- a/website/install/index.md +++ b/website/install/index.md @@ -53,7 +53,7 @@ for other platforms. ## Compiling You can easily (cross) compile mox yourself. You need a recent Go toolchain -installed. Run `go version`, it must be >= 1.20. Download the latest version +installed. Run `go version`, it must be >= 1.21. Download the latest version from https://go.dev/dl/ or see https://go.dev/doc/manage-install. To download the source code of the latest release, and compile it to binary "mox":