README: Re-add Compilation

This commit is contained in:
RPRX
2024-02-03 14:37:43 +00:00
committed by GitHub
parent ad3d347cfc
commit 4334d4eeaa
+15
View File
@@ -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
```
### General
```bash
make
```