-
-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update Makefile to improve commands. * Update install.sh to improve installation.
- Loading branch information
1 parent
303a313
commit 609811d
Showing
9 changed files
with
71 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
#!/usr/bin/env bash | ||
|
||
go install golang.org/x/tools/cmd/goimports@latest | ||
sudo cp $GOPATH/bin/goimports /usr/local/bin/ | ||
|
||
go install mvdan.cc/gofumpt@latest | ||
sudo cp $GOPATH/bin/gofumpt /usr/local/bin/ | ||
|
||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.43.0 | ||
sudo cp $GOPATH/bin/golangci-lint /usr/local/bin/ | ||
|
||
git clone https://github.com/gojp/goreportcard.git | ||
cd goreportcard | ||
make install | ||
go install ./cmd/goreportcard-cli | ||
cd .. | ||
sudo rm -R goreportcard | ||
sudo rm -R goreportcard | ||
sudo cp $GOPATH/bin/goreportcard-cli /usr/local/bin/ |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -185,6 +185,7 @@ func main() { | |
Green: 200, | ||
Blue: 200, | ||
}, | ||
VerticalContentPadding: 10, | ||
}) | ||
|
||
m.AddPage() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters