File: Makefile

package info (click to toggle)
golang-github-karpeleslab-reflink 1.0.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 120 kB
  • sloc: makefile: 13
file content (16 lines) | stat: -rw-r--r-- 289 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/make
GOROOT:=$(shell PATH="/pkg/main/dev-lang.go/bin:$$PATH" go env GOROOT)
GO=$(GOROOT)/bin/go
GOPATH:=$(shell $(GO) env GOPATH)

.PHONY: test deps

all:
	$(GOPATH)/bin/goimports -w -l .
	$(GO) build -v ./...

deps:
	$(GO) get -v -t ./...

test:
	$(GO) test -v ./... -test.count 1