Skip to content

Adjusting Makefile so that golint will compile#1509

Merged
bonifaido merged 1 commit into
dexidp:masterfrom
venezia:fix-go-lint-v2
Aug 3, 2019
Merged

Adjusting Makefile so that golint will compile#1509
bonifaido merged 1 commit into
dexidp:masterfrom
venezia:fix-go-lint-v2

Conversation

@venezia
Copy link
Copy Markdown
Contributor

@venezia venezia commented Aug 2, 2019

When doing make bin/golint one will get an error about go modules and lint. By asking go install -v ... on the absolute file path, the error goes away.

I'm unsure about this nuance of go install where the absolute path will work just fine but the current REPO_PATH does not. Regardless, this does fix it and it does allow dex to use the latest and greatest grpc and lint libraries, unlike my previous PR.

Fixes #1506

@venezia venezia mentioned this pull request Aug 2, 2019
Copy link
Copy Markdown
Contributor

@srenatus srenatus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thank you! 😃

Copy link
Copy Markdown
Member

@bonifaido bonifaido left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@bonifaido bonifaido merged commit 526e078 into dexidp:master Aug 3, 2019
@venezia venezia deleted the fix-go-lint-v2 branch August 3, 2019 12:44
mmrath pushed a commit to mmrath/dex that referenced this pull request Sep 2, 2019
Adjusting Makefile so that `golint` will compile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can no longer build golint

3 participants