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:
parent
4da660d790
commit
a89e3ace00
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user