summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 185453af48276b9bb0340d62ae99f4f3f235587c (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
# SPDX-License-Identifier: ISC
# Copyright © 2022 siddharth ravikumar <s@ricketyspace.net>

MOD=ricketyspace.net/peach
PKGS=${MOD}/client ${MOD}/nws ${MOD}/photon

peach: fix fmt
	go build ${BUILD_OPTS}

fmt:
	go fmt ${MOD} ${PKGS}
.PHONY: fmt

fix:
	go fix ${MOD} ${PKGS}
.PHONY: fix

test:
	go test ${PKGS} ${ARGS}
.PHONY: test

clean:
	go clean
.PHONY: clean