File: Makefile

package info (click to toggle)
golang-github-songgao-water 0.0~git20200317.2b4b6d7-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 232 kB
  • sloc: makefile: 21
file content (23 lines) | stat: -rw-r--r-- 266 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.phony: default ci test lint vet gofmt


default:
	echo 'This make file is for CI.'
	exit 1

ci: test lint vet gofmt

test: water.test
	sudo ./water.test -test.v

lint:
	golint -set_exit_status

vet:
	go vet .

gofmt:
	gofmt -s -e -l .

water.test: *.go
	go test -c