README: Re-add Compilation

pull/2277/head
RPRX 10 months ago committed by GitHub
parent ad3d347cfc
commit b56917fde5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -125,6 +125,21 @@
## Compilation ## Compilation
### Windows (PowerShell)
```powershell
$env:CGO_ENABLED=0
go build -o xray.exe -trimpath -ldflags "-s -w -buildid=" ./main
```
### Linux / macOS
```bash
CGO_ENABLED=0 go build -o xray -trimpath -ldflags "-s -w -buildid=" ./main
```
### Reproducible Releases
```bash ```bash
make make
``` ```

Loading…
Cancel
Save