File: Makefile

package info (click to toggle)
golang-github-ergochat-readline 0.1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 336 kB
  • sloc: makefile: 17
file content (18 lines) | stat: -rw-r--r-- 390 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.PHONY: all test examples ci gofmt

all: ci

ci: test examples

test:
	go test -race ./...
	go vet ./...
	./.check-gofmt.sh

examples:
	GOOS=linux go build -o /dev/null example/readline-demo/readline-demo.go
	GOOS=windows go build -o /dev/null example/readline-demo/readline-demo.go
	GOOS=darwin go build -o /dev/null example/readline-demo/readline-demo.go

gofmt:
	./.check-gofmt.sh --fix