mirror of
https://github.com/rclone/rclone.git
synced 2024-11-30 04:15:26 +01:00
6427029c4e
* Update all dependencies * Remove all `[[constraint]]` from Gopkg.toml * Add in the minimum number of `[[override]]` to build * Remove go get of github.com/inconshreveable/mousetrap as it is vendored * Update docs with new policy on constraints
19 lines
326 B
Makefile
19 lines
326 B
Makefile
build:
|
|
go build
|
|
|
|
test:
|
|
go test -cpu 4 -v -race
|
|
|
|
# Get the build dependencies
|
|
build_dep:
|
|
go get -u github.com/kisielk/errcheck
|
|
go get -u golang.org/x/tools/cmd/goimports
|
|
-#go get -u github.com/golang/lint/golint
|
|
|
|
# Do source code quality checks
|
|
check:
|
|
go vet
|
|
errcheck
|
|
goimports -d . | grep . ; test $$? -eq 1
|
|
-#golint
|