$ glide init
$ glide get github.com/onsi/ginkgo/ginkgo
[INFO] Preparing to install 1 package.
[INFO] Attempting to get package github.com/onsi/ginkgo/ginkgo
[INFO] --> Gathering release information for github.com/onsi/ginkgo
[INFO] The package github.com/onsi/ginkgo appears to have Semantic Version releases (http://semver.org).
[INFO] The latest release is v1.2.0. You are currently not using a release. Would you like
[INFO] to use this release? Yes (Y) or No (N)
Y
[INFO] The package github.com/onsi/ginkgo appears to use semantic versions (http://semver.org).
[INFO] Would you like to track the latest minor or patch releases (major.minor.patch)?
[INFO] Tracking minor version releases would use '>= 1.2.0, < 2.0.0' ('^1.2.0'). Tracking patch version
[INFO] releases would use '>= 1.2.0, < 1.3.0' ('~1.2.0'). For more information on Glide versions
[INFO] and ranges see https://glide.sh/docs/versions
[INFO] Minor (M), Patch (P), or Skip Ranges (S)?
M
[INFO] --> Adding github.com/onsi/ginkgo to your configuration with the version ^1.2.0
[INFO] Downloading dependencies. Please wait...
[INFO] --> Fetching updates for github.com/onsi/ginkgo.
[INFO] Resolving imports
[INFO] Downloading dependencies. Please wait...
[INFO] --> Detected semantic version. Setting version for github.com/onsi/ginkgo to v1.2.0.
[INFO] Exporting resolved dependencies...
[INFO] --> Exporting github.com/onsi/ginkgo
[INFO] Replacing existing vendor dependencies
run command ginkgo
$ ginkgo
-bash: ginkgo: command not found
ginkgo package downloaded in vendor successfully, but where is executable ginkgo? there is no bin directory in $GOPATH(/opt/dev/go)
$ ll /opt/dev/go
total 16
drwxr-xr-x 6 jason admin 204B 10 22 22:34 ./
drwxr-xr-x 10 jason admin 340B 10 22 22:10 ../
-rw-r--r-- 1 jason admin 249B 10 22 22:34 glide.lock
-rw-r--r-- 1 jason admin 97B 10 22 22:34 glide.yaml
drwxr-xr-x 2 jason admin 68B 10 22 22:33 src/
drwxr-xr-x 3 jason staff 102B 10 22 22:34 vendor/
$ go get github.com/onsi/ginkgo/ginkgo
$ ginkgo
Found no test suites
For usage instructions:
ginkgo help
$ ll bin/
total 18680
drwxr-xr-x 3 jason admin 102B 10 22 22:41 ./
drwxr-xr-x 8 jason admin 272B 10 22 22:41 ../
-rwxr-xr-x 1 jason staff 9.1M 10 22 22:41 ginkgo*
my env
get ginkgo
run command ginkgo
ginkgo package downloaded in vendor successfully, but where is executable ginkgo? there is no bin directory in $GOPATH(/opt/dev/go)
my glide.yaml
switch to 'go get', install successfully
which bin directory glide install package to?