-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
script: switch to go install for tools (#113)
Switches to using go install for for tools install now that the last two Go versions support it. The tools.mod and associated sum file is no longer required.
- Loading branch information
1 parent
c4b1a1a
commit 908a496
Showing
4 changed files
with
16 additions
and
88 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 |
---|---|---|
|
@@ -19,25 +19,20 @@ projectdir="${workdir}/godownloader" | |
git clone --depth 1 --branch v0.1.0 https://github.com/goreleaser/godownloader.git "${projectdir}" | ||
(cd "${projectdir}" && go install .) | ||
|
||
# Install tools. | ||
tools=( | ||
# gofumports for stricter formatting. | ||
mvdan.cc/gofumpt/gofumports | ||
# gofumports for stricter formatting. | ||
go install mvdan.cc/gofumpt/[email protected] | ||
|
||
# pigeon for PEG parser generation. | ||
github.com/mna/pigeon | ||
# pigeon for PEG parser generation. | ||
go install github.com/mna/pigeon@v1.0.1-0.20200224192238-18953b277063 | ||
|
||
# mathfmt for unicode math formatting. | ||
github.com/mmcloughlin/mathfmt | ||
# mathfmt for unicode math formatting. | ||
go install github.com/mmcloughlin/mathfmt@v0.0.0-20200207041814-4064651798f4 | ||
|
||
# bib for bibliography references. | ||
github.com/mmcloughlin/bib | ||
# bib for bibliography references. | ||
go install github.com/mmcloughlin/bib@v0.4.0 | ||
|
||
# covertool for merging coverage reports | ||
github.com/dlespiau/covertool | ||
# covertool for merging coverage reports. | ||
go install github.com/dlespiau/covertool@v0.0.0-20180314162135-b0c4c6d0583a | ||
|
||
# assets embedding | ||
modernc.org/assets | ||
) | ||
|
||
go install -modfile=script/tools.mod "${tools[@]}" | ||
# assets embedding. | ||
go install modernc.org/[email protected] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.