Skip to content

Commit

Permalink
Merge pull request Jguer#271 from Morganamilo/fix#270
Browse files Browse the repository at this point in the history
Don't mark targets as dependencies
  • Loading branch information
Morganamilo authored Mar 22, 2018
2 parents dbe0ace + a1a05bc commit b28a35c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions install.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,9 @@ func install(parser *arguments) error {
depArguments.addArg("D", "asdeps")

for _, pkg := range dc.Repo {
depArguments.addTarget(pkg.Name())
}
for pkg := range dt.Repo {
depArguments.delTarget(pkg)
if !parser.targets.get(pkg.Name()) {
depArguments.addTarget(pkg.Name())
}
}

if len(depArguments.targets) > 0 {
Expand Down

0 comments on commit b28a35c

Please sign in to comment.