Browse Source

README: Re-add Compilation

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

15
README.md

@ -125,6 +125,21 @@
## 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
make
```

Loading…
Cancel
Save