sayboras bd2921655a Added go-mnd linter (#842)
* Initial commit

* Fixed goimports

* Update pkg/golinters/mnd.go

Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>

* Run goimports

* Update pkg/golinters/mnd.go

Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>

* Add prefix for goimport local

* Run make README.md

* Incorporate review comments
Add test cases

* Update readme

* Update the description

* Removed subpath in local-prefixes

* Update readme
2019-11-15 19:08:43 -05:00

29 lines
617 B
YAML

builds:
-
main: ./cmd/mnd/main.go
binary: mnd
goos:
- windows
- darwin
- linux
goarch:
- amd64
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.buildTime={{.Date}}`.
archive:
format: tar.gz
format_overrides:
- goos: windows
format: zip
brew:
name: mnd
github:
owner: tommy-muehle
name: homebrew-tap
folder: Formula
homepage: https://github.com/tommy-muehle/go-mnd
description: Magic number detector for Go
test: |
system "#{bin}/mnd --version"