aboutsummaryrefslogtreecommitdiff
path: root/doc/build_env.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/build_env.md')
-rw-r--r--doc/build_env.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/build_env.md b/doc/build_env.md
index 4533374..4ba68cd 100644
--- a/doc/build_env.md
+++ b/doc/build_env.md
@@ -1,14 +1,17 @@
# Build environment
## `go version`
+
```
go version go1.21.4 linux/amd64
```
## Build commands
+
All commands are run in the project root directory.
### Compile development version to check for errors
+
```
go build -race ./cmd/mt-auth-convert
go build -race ./cmd/mt-build-plugin
@@ -16,11 +19,13 @@ go build -race ./cmd/mt-multiserver-proxy
```
### Install and run latest version
+
```
go install github.com/HimbeerserverDE/mt-multiserver-proxy/cmd/...@latest && mt-multiserver-proxy
```
## Formatting
+
```
goimports -l -w .
# go fmt