10 Star 47 Fork 19

Gitee 极速下载/Dragonfly

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/alibaba/Dragonfly
克隆/下载
.goreleaser.yml 1.71 KB
一键复制 编辑 原始数据 按行查看 历史
odidev 提交于 2020-11-17 22:29 +08:00 . Add ARM64 in goreleaser and Travis-CI
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
---
env:
- GO111MODULE=on
- CGO_ENABLED=0
before:
hooks:
- go mod tidy
builds:
- binary: supernode
id: "supernode"
main: cmd/supernode/main.go
goarch:
- amd64
- arm64
goos:
- linux
- darwin
ignore:
- goos: darwin
goarch: arm64
ldflags:
- -s -w -X github.com/dragonflyoss/Dragonfly/version.version={{.Version}}
- -X github.com/dragonflyoss/Dragonfly/version.revision={{.ShortCommit}}
- -X github.com/dragonflyoss/Dragonfly/version.buildDate={{.Env.DATE}}
- binary: dfget
id: "dfget"
main: cmd/dfget/main.go
goarch:
- amd64
- arm64
goos:
- linux
- darwin
ignore:
- goos: darwin
goarch: arm64
ldflags:
- -s -w -X github.com/dragonflyoss/Dragonfly/version.version={{.Version}}
- -X github.com/dragonflyoss/Dragonfly/version.revision={{.ShortCommit}}
- -X github.com/dragonflyoss/Dragonfly/version.buildDate={{.Env.DATE}}
- binary: dfdaemon
id: "dfdaemon"
main: cmd/dfdaemon/main.go
goarch:
- amd64
- arm64
goos:
- linux
- darwin
ignore:
- goos: darwin
goarch: arm64
ldflags:
- -s -w -X github.com/dragonflyoss/Dragonfly/version.version={{.Version}}
- -X github.com/dragonflyoss/Dragonfly/version.revision={{.ShortCommit}}
- -X github.com/dragonflyoss/Dragonfly/version.buildDate={{.Env.DATE}}
# archives in the tarball
archives:
- wrap_in_directory: true
# additional files
files:
- LICENSE
- README.md
checksum:
name_template: 'checksums.txt'
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/mirrors/Dragonfly.git
git@gitee.com:mirrors/Dragonfly.git
mirrors
Dragonfly
Dragonfly
master

搜索帮助