forked from q191201771/lal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
42 lines (32 loc) · 764 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
.PHONY: build
build:
./script/build.sh
.PHONY: build_for_linux
build_for_linux:
export CGO_ENABLED=0 && export GOOS=linux && ./script/build.sh
.PHONY: build_for_linux_amd64
build_for_linux_amd64:
export CGO_ENABLED=0 && export GOOS=linux && export GOARCH=amd64 && ./script/build.sh
.PHONY: build_for_linux_arm64
build_for_linux_arm64:
export CGO_ENABLED=0 && export GOOS=linux && export GOARCH=arm64 && ./script/build.sh
.PHONY: test
test:
./script/test.sh
.PHONY: image
image:
./script/build_docker_image.sh
.PHONY: clean
clean:
./script/clean.sh
.PHONY: check_versions
check_versions:
./script/check_versions.sh
.PHONY: gen_release
gen_release:
./script/gen_release.sh
.PHONY: gen_tag
gen_tag:
./script/gen_tag.sh
.PHONY: all
all: build test