logginghandler/vendor/github.com/moricho/tparallel/.goreleaser.yml
Marvin Preuss d095180eb4
All checks were successful
continuous-integration/drone/push Build is passing
build: uses go modules for tool handling
2022-01-14 13:51:56 +01:00

39 lines
902 B
YAML

project_name: tparallel
env:
- GO111MODULE=on
before:
hooks:
- go mod tidy
builds:
- main: ./cmd/tparallel
binary: tparallel
ldflags:
- -s -w
- -X main.Version={{.Version}}
- -X main.Revision={{.ShortCommit}}
env:
- CGO_ENABLED=0
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: darwin
linux: linux
windows: windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
release:
prerelease: auto
brews:
- tap:
owner: moricho
name: homebrew-tparallel
homepage: https://github.com/moricho/tparallel
description: tparallel detects inappropriate usage of t.Parallel() method in your Go test codes
install: |
bin.install "tparallel"
test: |
system "#{bin}/goreleaser -v"