Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B buck
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 201
    • Issues 201
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • buck
  • Merge requests
  • !1927

"buck project" to copy generated Go code to vendor

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/linzhp/gen_src into master Jun 18, 2018
  • Overview 36
  • Commits 4
  • Pipelines 0
  • Changes 13

Created by: linzhp

For most Go IDE/tools to work, every imported package has to be in some proper directories under GOPATH. However, Go code generated during a Buck build is not. This PR copies them to the vendor directory as part of "buck project --ide=intellij", although this change not only makes the IntelliJ/GoLand work, but also enable other IDEs and static check tools work with Go projects built with Buck.

In order for "buck project" command to identify Go targets and IjProjectCommandHelper to use Go related classes, I moved the Go module from features to core.

@styurin @kageiit Please review

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/linzhp/gen_src