summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 7f67abeacea410a0084d3d10530aa8a65678a614 (plain) (blame)
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
# SPDX-License-Identifier: ISC
# Copyright © 2021 siddharth <s@ricketyspace.net>

MOD=ricketyspace.net/fern

fern: fmt fix vet
	go build ${BUILD_OPTS}

fmt:
	go fmt ./...

fix:
	go fix ./...

vet:
	go vet ./...

test:
	go test ${TEST_OPTS} ${MOD}/db ${MOD}/feed ${MOD}/file ${MOD}/schema
.PHONY: test

clean:
	go clean
	rm -f fern-*
	rm -f Makefile.dist*
.PHONY: clean