INNER CODE UNIT · Go
projects
aws/eks-distro · cmd/main_postsubmit.go:127
projects := make(map[string]*changedStruct)
for _, projectPath := range buildOrder {
projects[projectPath] = &changedStruct{}
}
if *rebuildAll {
allChanged = true
} else {
for _, file := range filesChanged {
for projectPath := range projects {
if strings.Contains(file, projectPath) {
projects[projectPath].changed = true
}
}
r := regexp.MustCompile("^Makefile$|^Common.mk$|cmd/main_postsubmit.go|EKS_DISTRO_.*_TAG_FILE|^release/.*|^build/lib/.*")
if r.MatchString(file) {
allChanged = true
}