Feat: Using Makefile to build xray (#2882)

* Feat: Using `Makefile` to build xray

* Typo
This commit is contained in:
チセ 2024-01-02 23:13:38 +08:00 committed by GitHub
parent 60f7a03e1b
commit 7b4db50c9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 34 additions and 36 deletions

View file

@ -125,16 +125,8 @@
## Compilation
### Windows
```bash
go build -o xray.exe -trimpath -ldflags "-s -w -buildid=" ./main
```
### Linux / macOS
```bash
go build -o xray -trimpath -ldflags "-s -w -buildid=" ./main
make
```
## Stargazers over time