sdboyer / gps

your dependencies have arrived
MIT License
270 stars 24 forks source link

Ignore underscore-led files on parse #211

Closed sdboyer closed 7 years ago

sdboyer commented 7 years ago

golang/dep#351 demonstrated how parsing in files with leading underscores leads to all manner of problems. In that case, a _gen.go file from github.com/clipperhouse/gen ended up tricking our package parser into thinking that it was all a package main.

The toolchain doesn't look at these files by default when compiling, and we shouldn't analyze them either.

sdboyer commented 7 years ago

Technically this should result in a solver version bump, but #173 ain't in yet :(