Skip to content

Conversation

joelanford
Copy link
Member

Description of the change:
Simplifications and improvements in the Makefile.

  • Remove unnecessary hard-coded SOURCE_DIRS (use ./... instead)
  • Always download golangci-lint into ./bin and use it from there to guarantee the correct version
  • Always check the version of the ./bin/golangci-lint binary, and download a fresh copy if there's a version mismatch.

Motivation for the change:
General improvements for maintainability and repeatability.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 228741568

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 80.052%

Totals Coverage Status
Change from base Build 227091594: 0.0%
Covered Lines: 309
Relevant Lines: 386

💛 - Coveralls

Copy link
Member

@jmrodri jmrodri left a comment

Choose a reason for hiding this comment

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

/lgtm

@jmrodri
Copy link
Member

jmrodri commented Aug 28, 2020

/approve

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jmrodri

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 28, 2020
@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 28, 2020
@openshift-merge-robot openshift-merge-robot merged commit b30da74 into operator-framework:main Aug 28, 2020
@joelanford joelanford deleted the makefile-improvements branch August 28, 2020 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants