Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli doesn't work #379

Open
wongni opened this issue Feb 21, 2022 · 1 comment
Open

cli doesn't work #379

wongni opened this issue Feb 21, 2022 · 1 comment

Comments

@wongni
Copy link

wongni commented Feb 21, 2022

I tried to build cli on MacOS and Ubuntu, but both didn't work because goreportcard-cli is not found.

❯ git clone https://github.com/gojp/goreportcard.git
cd goreportcard
make install
go install ./cmd/goreportcard-cli
goreportcard-cli

Cloning into 'goreportcard'...
remote: Enumerating objects: 6136, done.
remote: Counting objects: 100% (2648/2648), done.
remote: Compressing objects: 100% (1313/1313), done.
remote: Total 6136 (delta 1391), reused 2389 (delta 1205), pack-reused 3488
Receiving objects: 100% (6136/6136), 10.07 MiB | 1.05 MiB/s, done.
Resolving deltas: 100% (3233/3233), done.
./scripts/make-install.sh
zsh: command not found: goreportcard-cli
ubuntu@wonkun-ubuntu:~$ git clone https://github.com/gojp/goreportcard.git
Cloning into 'goreportcard'...

remote: Enumerating objects: 6136, done.
remote: Counting objects: 100% (2648/2648), done.
remote: Compressing objects: 100% (1313/1313), done.
remote: Total 6136 (delta 1391), reused 2389 (delta 1205), pack-reused 3488
Receiving objects: 100% (6136/6136), 10.07 MiB | 22.82 MiB/s, done.
Resolving deltas: 100% (3233/3233), done.
ubuntu@wonkun-ubuntu:~$ cd goreportcard
ubuntu@wonkun-ubuntu:~/goreportcard$ make install
./scripts/make-install.sh
ubuntu@wonkun-ubuntu:~/goreportcard$ go install ./cmd/goreportcard-cli
ubuntu@wonkun-ubuntu:~/goreportcard$ goreportcard-cli
goreportcard-cli: command not found

@shawnps
Copy link
Contributor

shawnps commented Feb 22, 2022

@wongni can you provide the output of go list -f '{{.Target}}'?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants