updated clyxc docs

This commit is contained in:
Luxferre
2026-07-04 10:16:52 +03:00
parent 1e5c63770e
commit 42e48bb3a0
2 changed files with 14 additions and 6 deletions
+10 -6
View File
@@ -57,19 +57,19 @@ This will install Clyx as a T-DeckARD applet.
### Reference Go implementation installation
To install the Go-based Clyx implementation directly from Git, run:
To install the Go-based Clyx implementation and its tools (including `clyxc`) directly from Git, run:
```sh
go install codeberg.org/luxferre/clyx@latest
go install codeberg.org/luxferre/clyx/...@latest
```
For maximum performance, you can pass optimization flags to build a stripped binary without debug symbols, bounds checks, or inlining:
For maximum performance, you can pass optimization flags to build stripped binaries without debug symbols, bounds checks, or inlining:
```sh
go install -a -trimpath -gcflags=all="-l -B -e" -ldflags "-s -w" codeberg.org/luxferre/clyx@latest
go install -a -trimpath -gcflags=all="-l -B -e" -ldflags "-s -w" codeberg.org/luxferre/clyx/...@latest
```
This will install the executable as `clyx` into your `$GOPATH/bin` directory. To upgrade to the latest version at any time, simply run the same command again.
This will install the executables as `clyx` and `clyxc` into your `$GOPATH/bin` directory. To upgrade to the latest versions at any time, simply run the same command again.
Alternatively, to compile and build it locally, navigate to the `clyx-go` directory and run:
@@ -126,7 +126,11 @@ The Go implementation supports reading an optional ZIP archive appended directly
To package your program, you can use the `clyxc` utility.
#### Installing `clyxc`
Install the utility directly from Git:
Install the utility directly from Git (this also installs the main `clyx` binary):
```sh
go install codeberg.org/luxferre/clyx/...@latest
```
Or to install only the compiler utility:
```sh
go install codeberg.org/luxferre/clyx/clyxc@latest
```