blob: c25429267e258470b550c0d29366c2b94ac66966 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
GEN = $(addsuffix _gen.go, cover interior pkgid ship status)
TEST = $(wildcard *_test.go)
SRC = $(filter-out ${GEN} ${TEST}, $(wildcard *.go))
all: build lulu
build: ${SRC} ${GEN}
go build
${GEN}: ${SRC}
go generate
lulu: ${SRC} $(wildcard cmd/lulu/*.go)
go build ./cmd/$@
spec.yml:
curl -L -o $@ 'https://api.lulu.com/api-docs/openapi-specs/openapi_public.yml'
clean:
rm -f ${GEN} ${BIN}
|