Simplify build command

This commit is contained in:
Fabricio 2021-02-27 13:35:59 -03:00 committed by GitHub
parent 4e9b748375
commit 06eb4564f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,13 +44,13 @@ Manually:
git clone --depth 1 https://github.com/ofabricio/capture.git
cd capture
go build -o capture .
go build
Via docker:
git clone --depth 1 https://github.com/ofabricio/capture.git
cd capture
docker run --rm -v $(pwd):/src -w /src -e GOOS=darwin -e GOARCH=amd64 golang:alpine go build -o capture
docker run --rm -v $PWD:/src -w /src -e GOOS=darwin -e GOARCH=amd64 golang:alpine go build
Now you have an executable binary in your directory.