Skip to content

makefile: hard-set GOOS and GOARCH #5

@kendfss

Description

@kendfss

I started patching this because I couldn't see any reason to have these hard set after manually running go build....

Right now it's set so that GOARCH is amd64 by default but I'm not sure why to set it here at all. Like generalizing the makefile to support these args isn't substantially faster than just doing it manually.

it also offers:

  • u/i-nstall from/to $GOPATH/bin
  • extension (on windows)
  • man page (via pandoc - for darwin/linux - also supported by uninstall)
  • separates cleaning into pre/post

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions