mirror of
https://github.com/jmespath/jp
synced 2025-08-22 09:37:10 +00:00
Merge pull request #43 from brianolson/readme-fix
update `go` and `git` commands
This commit is contained in:
commit
6295f38bc1
@ -35,12 +35,12 @@ sudo wget https://github.com/jmespath/jp/releases/latest/download/jp-linux-amd64
|
||||
## Building from Source
|
||||
|
||||
If you have a Go environment installed you can also run:
|
||||
``go get -u github.com/jmespath/jp`` to get the latest version
|
||||
``go install github.com/jmespath/jp@latest`` to get the latest version
|
||||
of jmespath. If you have the repo checked out locally you can also
|
||||
just ``go build`` the project:
|
||||
|
||||
```sh
|
||||
git clone git://github.com/jmespath/jp
|
||||
git clone https://github.com/jmespath/jp.git
|
||||
cd jp
|
||||
go build
|
||||
./jp --help
|
||||
@ -52,7 +52,7 @@ have a workspace/GOPATH configured, you can just run
|
||||
``jp`` executable for you:
|
||||
|
||||
```sh
|
||||
git clone git://github.com/jmespath/jp
|
||||
git clone https://github.com/jmespath/jp.git
|
||||
cd jp
|
||||
scripts/build-self-contained
|
||||
./jp --help
|
||||
|
Loading…
x
Reference in New Issue
Block a user