rclone/vendor/github.com/t3rm1n4l/go-mega/Makefile
2018-04-18 21:09:54 +01:00

18 lines
324 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