forked from berty/berty
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
54 lines (40 loc) · 828 Bytes
/
Makefile
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
all: generate test
.PHONY: all
test:
cd go; $(MAKE) test
cd js; $(MAKE) test
cd js; $(MAKE) lint
.PHONY: test
generate:
touch api/*.proto
cd go; $(MAKE) generate
cd docs; $(MAKE) generate
cd js; $(MAKE) generate
cd config; $(MAKE) generate
go mod tidy
.PHONY: generate
regenerate:
touch api/*.proto
cd go; $(MAKE) regenerate
cd docs; $(MAKE) regenerate
cd js; $(MAKE) regenerate
cd config; $(MAKE) generate
go mod tidy
.PHONY: regenerate
tidy:
go mod tidy
cd js; go mod tidy
cd tool; go mod tidy
.PHONY: tidy
docker.build:
cd go; $(MAKE) docker.build
.PHONY: docker.build
goreleaser.dry-run:
goreleaser release --rm-dist --snapshot --skip-publish
.PHONY: goreleaser.dry-run
doctor:
cd go && $(MAKE) doctor
.PHONY: doctor
doctor.verbose:
cd go && $(MAKE) doctor.verbose
.PHONY: doctor.verbose