1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-08 03:31:59 +02:00

chore: added todo

This commit is contained in:
Carlos Alexandro Becker 2018-01-28 11:46:16 -02:00
parent 4da660d790
commit a89e3ace00
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -54,6 +54,8 @@ func allBuildTargets(build config.Build) (targets []target) {
return
}
// TODO: this could be improved by using a map
// https://github.com/goreleaser/goreleaser/pull/522#discussion_r164245014
func ignored(build config.Build, target target) bool {
for _, ig := range build.Ignore {
if ig.Goos != "" && ig.Goos != target.os {