Skip to content

Commit fef7bf2

Browse files
author
pote
committed
Make gpm get the default action, bump version.
1 parent 6fb3e62 commit fef7bf2

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ Caveat: you'll use `go-gpm` instead of just `gpm` in the command line, as there
3838
Latest stable release:
3939

4040
```bash
41-
$ wget https://raw.githubusercontent.com/pote/gpm/v1.3.2/bin/gpm && chmod +x gpm && sudo mv gpm /usr/local/bin
41+
$ wget https://raw.githubusercontent.com/pote/gpm/v1.4.0/bin/gpm && chmod +x gpm && sudo mv gpm /usr/local/bin
4242
```
4343

4444
### Manually on *nix
4545

4646
```bash
4747
$ git clone https://github.com/pote/gpm.git && cd gpm
48-
$ git checkout v1.3.2 # You can ignore this part if you want to install HEAD.
48+
$ git checkout v1.4.0 # You can ignore this part if you want to install HEAD.
4949
$ ./configure
5050
$ make install
5151
```
@@ -56,10 +56,10 @@ As gpm is a bash script you can always use it directly from GitHub via `wget` or
5656

5757
```bash
5858
## With wget
59-
$ wget -qO- https://raw.githubusercontent.com/pote/gpm/v1.3.2/bin/gpm | bash
59+
$ wget -qO- https://raw.githubusercontent.com/pote/gpm/v1.4.0/bin/gpm | bash
6060

6161
## With cURL
62-
$ curl -s https://raw.githubusercontent.com/pote/gpm/v1.3.2/bin/gpm | bash
62+
$ curl -s https://raw.githubusercontent.com/pote/gpm/v1.4.0/bin/gpm | bash
6363
```
6464

6565
## The Godeps file

bin/gpm

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ SYNOPSIS
2626
has its own isolated dependency directory, its usage is recommended.
2727
2828
USAGE
29-
$ gpm # Same as 'install'.
29+
$ gpm # Same as 'gpm get'.
3030
$ gpm get # Parses the Godeps file, gets dependencies and sets them
31-
# to the appropriate version but does not install them.
32-
$ gpm install # Parses the Godeps file, installs dependencies and sets
33-
# them to the appropriate version.
31+
# to the appropriate version but does not install them.
32+
$ gpm install # Parses the Godeps file, installs dependencies, sets
33+
# them to the appropriate version and precompiles/installs them.
3434
$ gpm version # Outputs version information
3535
$ gpm help # Prints this message
3636
EOF
@@ -97,9 +97,9 @@ install_dependencies() {
9797
## /Functions
9898

9999
## Command Line Parsing
100-
case "${1:-"install"}" in
100+
case "${1:-"get"}" in
101101
"version")
102-
echo ">> gpm v1.3.2"
102+
echo ">> gpm v1.4.0"
103103
;;
104104
"install")
105105
(get_dependencies "${2:-"Godeps"}" | install_dependencies) 3>&1

0 commit comments

Comments
 (0)