mirror of
https://github.com/schollz/croc.git
synced 2024-11-24 08:02:33 +03:00
95 lines
2.0 KiB
YAML
95 lines
2.0 KiB
YAML
project_name: croc
|
|
build:
|
|
main: main.go
|
|
binary: croc
|
|
ldflags: -s -w -X main.Version="v{{.Version}}-{{.Date}}"
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- darwin
|
|
- linux
|
|
- windows
|
|
- freebsd
|
|
- netbsd
|
|
- openbsd
|
|
- dragonfly
|
|
goarch:
|
|
- amd64
|
|
- 386
|
|
- arm
|
|
- arm64
|
|
ignore:
|
|
- goos: darwin
|
|
goarch: 386
|
|
goarm:
|
|
- 7
|
|
hooks:
|
|
post: sh ./src/install/prepare-sources-tarball.sh
|
|
nfpms:
|
|
-
|
|
formats:
|
|
- deb
|
|
vendor: "schollz.com"
|
|
homepage: "https://schollz.com/software/croc/"
|
|
maintainer: "Zack Scholl <zack.scholl@gmail.com>"
|
|
description: "A simple, secure, and fast way to transfer data."
|
|
license: "MIT"
|
|
file_name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}"
|
|
replacements:
|
|
amd64: 64bit
|
|
386: 32bit
|
|
arm: ARM
|
|
arm64: ARM64
|
|
darwin: macOS
|
|
linux: Linux
|
|
windows: Windows
|
|
openbsd: OpenBSD
|
|
netbsd: NetBSD
|
|
freebsd: FreeBSD
|
|
dragonfly: DragonFlyBSD
|
|
archives:
|
|
-
|
|
format: tar.gz
|
|
format_overrides:
|
|
- goos: windows
|
|
format: zip
|
|
name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}"
|
|
replacements:
|
|
amd64: 64bit
|
|
386: 32bit
|
|
arm: ARM
|
|
arm64: ARM64
|
|
darwin: macOS
|
|
linux: Linux
|
|
windows: Windows
|
|
openbsd: OpenBSD
|
|
netbsd: NetBSD
|
|
freebsd: FreeBSD
|
|
dragonfly: DragonFlyBSD
|
|
files:
|
|
- README.md
|
|
- LICENSE
|
|
|
|
brews:
|
|
-
|
|
github:
|
|
owner: schollz
|
|
name: homebrew-tap
|
|
folder: Formula
|
|
description: "croc is a tool that allows any two computers to simply and securely transfer files and folders."
|
|
homepage: "https://schollz.com/software/croc/"
|
|
install: |
|
|
bin.install "croc"
|
|
|
|
test: |
|
|
system "#{bin}/croc --version"
|
|
|
|
scoop:
|
|
bucket:
|
|
owner: schollz
|
|
name: scoop-bucket
|
|
homepage: "https://schollz.com/software/croc/"
|
|
description: "croc is a tool that allows any two computers to simply and securely transfer files and folders."
|
|
license: MIT
|
|
|