Skip to content

Request: Normalize build process #1588

@mcandre

Description

@mcandre

Is your feature request related to a problem? Please describe.

Unlike other Go projects, the gitleaks build process involves multiple quirks that break the ordinary, intuitive Go build workflow.

Describe the solution you'd like

  • Synchronize the VCS repository name with the Go module name.
  • Reduce use of LDFLAGS customizations, so that a simple go install ./... in the project top level directory is able to compile the gitleaks binary and add it to $GOPATH/bin, or go install <module>@latest from any working directory.

Describe alternatives you've considered

Mend, SonarQube, Snyk, Checkmarx

cc @zricethezav

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions