Hopefully somebody can help me out. I’m sure it’s ...
# general
r
Hopefully somebody can help me out. I’m sure it’s just my lack of understanding the system. I’m trying to setup pants with some golang projects. In the root of the repo I have several folders that contain separate projects
Copy code
$GOPATH/src/domain.example/[project_folder]/[root_of_repo]/[project1]
$GOPATH/src/domain.example/[project_folder]/[root_of_repo]/[project2]
$GOPATH/src/domain.example/[project_folder]/[root_of_repo]/[project3]
In my pants.ini I have
Copy code
[source]
source_roots: {
    'project1': ['go'],
    'project2': ['go'],
    'project3': ['go']
  }
When I attempt run buildgen I get
Can only BUILD gen for a single Go local sources source root,
Is there something I’m missing? or should the source_roots be setup differently?