mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-08-29 13:26:35 -04:00
9 lines
460 B
Markdown
9 lines
460 B
Markdown
## Building
|
|
Official binaries are stripped of debug info for size and built without CGO (except for distribution packages) for portability, as follows:
|
|
```
|
|
CGO_ENABLED=0 go build -ldflags="-s -w" -trimpath -tags=stxAll ./mutn.go
|
|
```
|
|
|
|
Additionally, some custom build tags can be used to create different binaries. The following tags are not used in official builds:
|
|
- `wsl`: Allows creating a Linux binary that can interact with the Windows clipboard (for WSL)
|