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: drawin 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 " 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 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 confinement: strict license: MIT base: core18 apps: croc: plugs: ["home", "network", "removable-media","network-bind"]