File: Makefile

package info (click to toggle)
golang-github-ghjm-cmdline 0.1.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 148 kB
  • sloc: makefile: 17
file content (20 lines) | stat: -rw-r--r-- 249 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
test:
	@go test -count=1 .

lint:
	@golint ./...

format:
	@find . -type f -name '*.go' -exec go fmt {} \;

fmt: format

pre-commit:
	@pre-commit run --all-files

example: cmd/example.go cmdline.go
	@go build cmd/example.go

clean:
	@rm -f example