Skip to content

Commit 24e5f97

Browse files
committed
Rename cli to cmd
1 parent 93fec52 commit 24e5f97

File tree

12 files changed

+11
-5
lines changed

12 files changed

+11
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Command-line tool and Go library to wait for various conditions to become true.
77

88
## Installation
99

10-
Make sure Go is installed and setup correctly. To pull the library into the `$GOPATH` directory, build the CLI, and put the binary into the `$GOBIN` directory, simply run:
10+
Make sure Go is installed and setup correctly. To pull the library into the `$GOPATH` directory, build the binary, and put it into the `$GOBIN` directory, simply run:
1111

1212
```
1313
go get github.com/st3v/waitfor/...

check/command_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import (
1111
. "github.com/onsi/ginkgo/extensions/table"
1212
. "github.com/onsi/gomega"
1313
"github.com/onsi/gomega/gbytes"
14+
1415
"github.com/st3v/waitfor/check"
1516
)
1617

check/curl_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import (
1212
. "github.com/onsi/gomega"
1313
"github.com/onsi/gomega/gbytes"
1414
"github.com/onsi/gomega/ghttp"
15+
1516
"github.com/st3v/waitfor/check"
1617
)
1718

cli/waitfor/curl.go renamed to cmd/waitfor/curl.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"strings"
88

99
"github.com/codegangsta/cli"
10+
1011
"github.com/st3v/waitfor/check"
1112
)
1213

File renamed without changes.
File renamed without changes.

cli/waitfor/main.go renamed to cmd/waitfor/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import (
44
"os"
55

66
"github.com/codegangsta/cli"
7+
78
"github.com/st3v/waitfor"
89
)
910

cli/waitfor/port.go renamed to cmd/waitfor/port.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import (
66
"strconv"
77

88
"github.com/codegangsta/cli"
9+
910
"github.com/st3v/waitfor/check"
1011
)
1112

cli/waitfor/port_test.go renamed to cmd/waitfor/port_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ import (
1010

1111
. "github.com/onsi/ginkgo"
1212
. "github.com/onsi/gomega"
13-
1413
"github.com/onsi/gomega/gbytes"
14+
1515
"github.com/st3v/waitfor"
1616
"github.com/st3v/waitfor/check"
17-
"github.com/st3v/waitfor/cli/waitfor/fake"
17+
"github.com/st3v/waitfor/cmd/waitfor/fake"
1818
)
1919

2020
var _ = Describe("port command", func() {

cli/waitfor/shell.go renamed to cmd/waitfor/shell.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import (
66
"regexp"
77

88
"github.com/codegangsta/cli"
9+
910
"github.com/st3v/waitfor"
1011
"github.com/st3v/waitfor/check"
1112
)

0 commit comments

Comments
 (0)