src-d / proteus

Generate .proto files from Go source code.
https://blog.sourced.tech/post/proteus/
MIT License
735 stars 70 forks source link

proteus complains about test packages #67

Closed alban closed 7 years ago

alban commented 7 years ago

Proteus complains about test packages:

$ proteus -f $PWD/proteus/ -p github.com/weaveworks/scope/report
error scanning package "github.com/weaveworks/scope/report": more than one package found in a directory
$ cat report/* | grep package | sort | uniq
package report
package report_test

Workaround: delete the tests with rm *test.go

Serabe commented 7 years ago

Thank you for the report!