File tree 1 file changed +16
-0
lines changed
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,22 @@ build:
24
24
echo " Building version $( GIT_VERSION) "
25
25
go build -ldflags $(LDFLAGS ) -o $(APP )
26
26
27
+ build-test :
28
+ echo " Building version $( GIT_VERSION) "
29
+ go build -ldflags $(LDFLAGS ) -o $(APP )
30
+ echo " Linux amd64 building version $( GIT_VERSION) "
31
+ GOOS=linux GOARCH=amd64 go build -ldflags $(LDFLAGS ) -o $(APP )
32
+ echo " Linux arm64 building version $( GIT_VERSION) "
33
+ GOOS=linux GOARCH=arm64 go build -ldflags $(LDFLAGS ) -o $(APP )
34
+ echo " Windows amd64 building version $( GIT_VERSION) "
35
+ GOOS=windows GOARCH=amd64 go build -ldflags $(LDFLAGS ) -o $(APP ) .exe
36
+ echo " Windows arm64 building version $( GIT_VERSION) "
37
+ GOOS=windows GOARCH=arm64 go build -ldflags $(LDFLAGS ) -o $(APP ) .exe
38
+ echo " Linux amd64 slim building version $( GIT_VERSION) "
39
+ GOOS=linux GOARCH=amd64 go build --tags " no_logs no_prometheus no_traces" -ldflags $(LDFLAGS ) -o $(APP )
40
+ echo " Linux arm64 slim building version $( GIT_VERSION) "
41
+ GOOS=linux GOARCH=arm64 go build --tags " no_logs no_prometheus no_traces" -ldflags $(LDFLAGS ) -o $(APP )
42
+
27
43
build-pure :
28
44
echo " Building version $( GIT_VERSION) "
29
45
go build --tags " no_prometheus no_traces" -ldflags $(LDFLAGS ) -o $(APP )
You can’t perform that action at this time.
0 commit comments