# Build customization build: # Path to main.go file. # Default is `main.go` main: ./cmd/main.go # Name of the binary. Default is the name of the project directory. binary_name: program # Custom ldflags. # Default is `-s -w` ldflags: -s -w # GOOS list to build in. # For more info refer to https://golang.org/doc/install/source#environment # Defaults are darwin and linux goos: - freebsd - windows # GOARCH to build in. # For more info refer to https://golang.org/doc/install/source#environment # Defaults are 386 and amd64 goarch: - amd64 # Archive customization archive: # You can change the name of the archive. # This is parsed with Golang template engine and the following variables # are available: # - BinaryName # - Version # - Os # - Arch # The default is `{{.BinaryName}}_{{.Os}}_{{.Arch}}` name_template: "{{.BinaryName}}_{{.Version}}_{{.Os}}_{{.Arch}}" # Archive format. Valid options are `tar.gz` and `zip`. # Default is `zip` format: zip # Replacements for GOOS and GOARCH on the archive name. # The keys should be valid GOOS or GOARCH values followed by your custom # replacements. # By default, `replacements` replace GOOS and GOARCH values with valid outputs # of `uname -s` and `uname -m` respectively. replacements: amd64: 64-bit 386: 32-bit darwin: macOS linux: Tux # Additional files you want to add to the archive. # Defaults are any files matching `LICENCE*`, `LICENSE*`, # `README*` and `CHANGELOG*` (case-insensitive) files: - LICENSE.txt - README.md - CHANGELOG.md # Release customization release: # Repo in which the release will be created. # Default is extracted from the origin remote URL. repo: user/repo # The brew section specifies how the formula should be created # Check this link for details: https://github.com/Homebrew/brew/blob/master/docs/How-to-Create-and-Maintain-a-Tap.md brew: # Reporitory to push the tap to. repo: user/homebrew-tap # Folder inside the repository to put the formula. # Default is the root folder. folder: Formula # Caveats for the user of your binary. # Default is empty. caveats: "How to use this binary" # Dependencies of your formula. # For more info, check https://github.com/Homebrew/brew/blob/master/docs/Formula-Cookbook.md dependencies: - pkg-config - jpeg - boost - readline - gtk+ - x11