File: Makefile

package info (click to toggle)
golang-github-t3rm1n4l-go-mega 0.0~git20230228.a01a2cd-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 160 kB
  • sloc: makefile: 15
file content (18 lines) | stat: -rw-r--r-- 326 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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