aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 079f77dd727752a91b93fce5b0f49e82df456616 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
GEN = $(addsuffix _gen.go, cover interior order pkgid ship)
TEST = $(wildcard *_test.go)
SRC = $(filter-out ${GEN} ${TEST}, $(wildcard *.go))

build: ${SRC} ${GEN}
	go build

${GEN}: ${SRC}
	go generate

spec.yml:
	curl -L -o $@ 'https://api.lulu.com/api-docs/openapi-specs/openapi_public.yml'

clean:
	rm -f ${GEN}

.PHONY: build clean