2018-10-13 19:19:43 +03:00
|
|
|
project_name: croc
|
|
|
|
build:
|
|
|
|
main: main.go
|
|
|
|
binary: croc
|
2018-10-18 16:54:25 +03:00
|
|
|
ldflags: -s -w -X main.Version="v{{.Version}}-{{.Date}}"
|
2018-10-13 19:19:43 +03:00
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
goos:
|
|
|
|
- darwin
|
|
|
|
- linux
|
|
|
|
- windows
|
2018-10-18 16:54:25 +03:00
|
|
|
- freebsd
|
|
|
|
- netbsd
|
2018-10-13 19:19:43 +03:00
|
|
|
- openbsd
|
2018-10-18 16:54:25 +03:00
|
|
|
- dragonfly
|
2018-10-13 19:19:43 +03:00
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
- 386
|
|
|
|
- arm
|
|
|
|
- arm64
|
|
|
|
goarm:
|
|
|
|
- 7
|
2019-11-18 18:29:11 +03:00
|
|
|
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
|
2019-05-10 21:58:53 +03:00
|
|
|
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
|
2019-05-10 16:11:14 +03:00
|
|
|
|
2019-11-18 18:29:11 +03:00
|
|
|
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"
|
2019-05-10 16:11:14 +03:00
|
|
|
|
2019-11-18 18:29:11 +03:00
|
|
|
test: |
|
|
|
|
system "#{bin}/croc --version"
|
2019-05-12 17:54:03 +03:00
|
|
|
|
|
|
|
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."
|
2019-11-18 18:29:11 +03:00
|
|
|
license: MIT
|
2019-11-18 21:15:57 +03:00
|
|
|
|
2019-11-19 21:12:07 +03:00
|
|
|
snapcrafts:
|
|
|
|
-
|
|
|
|
id: croc
|
|
|
|
publish: true
|
|
|
|
summary: "croc is a tool that allows any two computers to simply and securely transfer files and folders."
|
|
|
|
description: "Use croc to send and receive files from the command line."
|
|
|
|
grade: stable
|
2019-12-16 18:37:30 +03:00
|
|
|
confinement: strict
|
2019-11-19 21:12:07 +03:00
|
|
|
license: MIT
|
|
|
|
base: core18
|
2020-01-15 19:06:08 +03:00
|
|
|
apps:
|
|
|
|
croc:
|
2020-01-15 20:14:06 +03:00
|
|
|
plugs: ["home", "network", "removable-media","network-bind"]
|