forked from berty/berty
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
66 lines (50 loc) · 1.1 KB
/
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
55
56
57
58
59
60
61
62
63
64
65
66
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
cd tool/tyber/go; 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
clean:
-cd tool/berty-mini-local-helper; $(MAKE) clean
-cd tool/tyber; $(MAKE) clean
-cd tool/deployments/welcomebot; $(MAKE) clean
-cd tool/deployments/testbot; $(MAKE) clean
-cd go; $(MAKE) clean
-cd docs; $(MAKE) clean
-cd js; $(MAKE) clean
.PHONY: clean