File: Makefile

package info (click to toggle)
golang-github-ostreedev-ostree-go 0.0+git20190702.759a8c1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 248 kB
  • sloc: ansic: 158; makefile: 18; sh: 14
file content (23 lines) | stat: -rw-r--r-- 427 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: help deps lint test install-tools

help:
	@echo "Targets:"
	@echo " - deps: Install required dependencies for building"
	@echo " - install-tools: install tools"
	@echo " - lint: Run golint"
	@echo " - test: Run unittests"

install-tools:
	go get -u github.com/golang/dep/cmd/dep
	go get -u github.com/golang/lint/golint

deps:
	dep ensure -v

lint:
	golint .


test:
	go list ./... | grep -v vendor | xargs go test -v