aboutsummaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorGravatar Abhinav Gupta <mail@abhinavg.net> 2022-12-18 23:01:59 -0800
committerGravatar GitHub <noreply@github.com> 2022-12-18 23:01:59 -0800
commite3604e558f6bd4dccc96b9bd071223fd8506888f (patch)
treed1b7afb258a91f44d4fe532ddc9dd96bd629e67d /go.mod
parentc70dd0aacb63464520aa3fcf01e8fb8b9c9576c7 (diff)
downloadsally-e3604e558f6bd4dccc96b9bd071223fd8506888f.tar.gz
sally-e3604e558f6bd4dccc96b9bd071223fd8506888f.tar.zst
sally-e3604e558f6bd4dccc96b9bd071223fd8506888f.zip
Makefile: Simplify (#62)
This simplifies the Makefile significantly, borrowing patterns we've used in other projects. Namely: - Set GOBIN to a bin subdirectory so that we can `go install` dependencies into it. - Use a shared TEST_FLAGS for `make test` and `make cover`. Without this, we're not running with data race detection in CI. - Build lint step out of separate golint and staticcheck steps. In the future, a gofmt step may also be added. - Move tools dependencies into an unpublished subpackage. Note: I didn't mess with the 'clean' and 'run' targets at the bottom of the file even though they're not necessary to avoid a merge conflict with #60.
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod7
1 files changed, 0 insertions, 7 deletions
diff --git a/go.mod b/go.mod
index 9f3412e..dc9b70a 100644
--- a/go.mod
+++ b/go.mod
@@ -6,20 +6,13 @@ require (
github.com/julienschmidt/httprouter v1.3.0
github.com/stretchr/testify v1.2.2
github.com/yosssi/gohtml v0.0.0-20180130040904-97fbf36f4aa8
- golang.org/x/lint v0.0.0-20210508222113-6edffad5e616
gopkg.in/yaml.v2 v2.4.0
- honnef.co/go/tools v0.3.2
)
require (
- github.com/BurntSushi/toml v1.1.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/kr/pretty v0.1.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- golang.org/x/exp/typeparams v0.0.0-20220516143420-24438e51023a // indirect
- golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f // indirect
- golang.org/x/sys v0.0.0-20220513210249-45d2b4557a2a // indirect
- golang.org/x/tools v0.1.11-0.20220513221640-090b14e8501f // indirect
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
)