package main

import (
	"flag"
	log "github.com/Sirupsen/logrus"
	"github.com/fubarhouse/golang-drush/makeupdater"
	"strings"
)

func main() {
	var strMake = flag.String("makes", "", "Comma-separated list of absolute paths to make files to update.")
	flag.Parse()
	if *strMake != "" {
		Makes := strings.Split(*strMake, ",")
		for _, Makefile := range Makes {
			makeupdater.UpdateMake(Makefile)
		}
	} else {
		log.Infoln("Invalid make file input")
		flag.Usage()
	}
}

package main

import (
	"flag"
	log "github.com/Sirupsen/logrus"
	"github.com/fubarhouse/golang-drush/makeupdater"
	"strings"
)

func main() {
	var strMake = flag.String("makes", "", "Comma-separated list of absolute paths to make files to update.")
	flag.Parse()
	if *strMake != "" {
		Makes := strings.Split(*strMake, ",")
		for _, Makefile := range Makes {
			makeupdater.UpdateMake(Makefile)
			makeupdater.FindDuplicatesInMake(Makefile)
		}
	} else {
		log.Infoln("Invalid make file input")
		flag.Usage()
	}
}

Add a duplicate project reporting system into the update-make binary.
Add a duplicate project reporting system into the update-make binary.
