File: Makefile

package info (click to toggle)
golang-github-keltia-archive 0.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 120 kB
  • sloc: makefile: 20
file content (33 lines) | stat: -rw-r--r-- 384 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Main Makefile for archive
#
# Copyright 2018 © by Ollivier Robert
#

GO=		go
GOBIN=  ${GOPATH}/bin

SRCS= archive.go utils.go

OPTS=	-ldflags="-s -w" -v

all: build

build: ${SRCS}
	${GO} build ${OPTS} .

test:
	${GO} test -v .

install: ${BIN}
	${GO} install ${OPTS} .

clean:
	${GO} clean -v

# use github.com/mgechev/revive
lint:
	revive

push:
	git push --all
	git push --tags