updated clyxc docs
This commit is contained in:
@@ -57,19 +57,19 @@ This will install Clyx as a T-DeckARD applet.
|
|||||||
|
|
||||||
### Reference Go implementation installation
|
### 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
|
```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
|
```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:
|
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.
|
To package your program, you can use the `clyxc` utility.
|
||||||
|
|
||||||
#### Installing `clyxc`
|
#### 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
|
```sh
|
||||||
go install codeberg.org/luxferre/clyx/clyxc@latest
|
go install codeberg.org/luxferre/clyx/clyxc@latest
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
|
// Clyx compiler/bundler utility, Go implementation
|
||||||
|
// Created by Luxferre in 2026, released into the public domain
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"archive/zip"
|
"archive/zip"
|
||||||
"bytes"
|
"bytes"
|
||||||
|
|||||||
Reference in New Issue
Block a user