You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

23 lines
266 B

.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