-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
55 lines (42 loc) · 867 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
55
.PHONY: all
all: release
.PHONY: init
init:
./scripts/init.sh
.PHONY: format
format:
./scripts/fix_api_error.sh
./scripts/fix_sctruct_types.sh
./scripts/format.sh
./scripts/docs_format.sh
.PHONY: test
test:
./scripts/test.sh
./scripts/run_snippets.sh
.PHONY: build
build:
./scripts/build.sh
.PHONY: lint
lint:
./scripts/lint.sh
.PHONY: update_packages
update_packages:
./scripts/update_packages.sh
.PHONY: clean-gosum
clean-gosum: clean-gomod
./scripts/clean-go.sum.sh
.PHONY: clean-gomod
clean-gomod:
./scripts/clean-go.mod.sh
./scripts/tidy.sh
.PHONY: update
update: update_packages clean-gomod
.PHONY: release
release: format lint update_packages clean-gomod build test
.PHONY: after-gen
after-gen: init format insert-examples clean-gomod
.PHONY: insert-examples
insert-examples:
./scripts/insert-examples.bash
.PHONY: ci
ci: build test