mirror of
https://github.com/Finb/Bark.git
synced 2025-12-08 21:36:01 +00:00
47 lines
828 B
Markdown
47 lines
828 B
Markdown
## 下载源码
|
|
从GitHub下载源码 [bark-server](https://github.com/Finb/bark-server)
|
|
|
|
或
|
|
```sh
|
|
git clone https://github.com/Finb/bark-server.git
|
|
```
|
|
## 配置依赖
|
|
- Golang 1.18+
|
|
- Go Mod (env GO111MODULE=on)
|
|
- Go Mod Proxy (env GOPROXY=https://goproxy.cn)
|
|
- 安装 [go-task](https://taskfile.dev/installation/)
|
|
|
|
## 交叉编译所有平台
|
|
```sh
|
|
task
|
|
```
|
|
|
|
## 编译指定平台
|
|
```sh
|
|
task linux_amd64
|
|
task linux_amd64_v3
|
|
```
|
|
|
|
## 支持的平台
|
|
|
|
- linux_386
|
|
- linux_amd64
|
|
- linux_amd64_v2
|
|
- linux_amd64_v3
|
|
- linux_amd64_v4
|
|
- linux_armv5
|
|
- linux_armv6
|
|
- linux_armv7
|
|
- linux_armv8
|
|
- linux_mips_hardfloat
|
|
- linux_mipsle_softfloat
|
|
- linux_mipsle_hardfloat
|
|
- linux_mips64
|
|
- linux_mips64le
|
|
- windows_386.exe
|
|
- windows_amd64.exe
|
|
- windows_amd64_v2.exe
|
|
- windows_amd64_v3.exe
|
|
- windows_amd64_v4.exe
|
|
- darwin_amd64
|
|
- darwin_arm64 |