Skip to content

Conversation

mwasilew2
Copy link

@mwasilew2 mwasilew2 commented May 9, 2021

  • fix missing cross-platform build destination

Signed-off-by: Michal Wasilewski mwasilewski@gmx.com

* fix missing cross-platform build destination * suggest cloning into GOPATH/src directory structure * beautify formatting Signed-off-by: Michal Wasilewski <mwasilewski@gmx.com>
README.md Outdated
make build
./postgres_exporter <flags>
$ mkdir -p $GOPATH/src/github.com/prometheus-community
$ cd $GOPATH/src/github.com/prometheus-community
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not necessary anymore, and not recommended. The GOPATH style is officially deprecated (Go 1.13).

README.md Outdated
make promu
promu crossbuild -p linux/amd64 -p linux/armv7 -p linux/amd64 -p linux/ppc64le
make docker
$ make promu
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure I like adding command prompts to this. I find it easier to copy-n-paste lines without them.

Signed-off-by: Michal Wasilewski <mwasilewski@gmx.com>
@mwasilew2
Copy link
Author

thanks @SuperQ , this is ready for another look, the only change is fixing a typo in build destination

@mwasilew2
Copy link
Author

This was fixed in: #903

@mwasilew2 mwasilew2 closed this Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants