File tree 2 files changed +3
-8
lines changed
2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -60,17 +60,15 @@ build-dirs:
60
60
61
61
.PHONY : oci-cloud-controller-manager
62
62
oci-cloud-controller-manager : build-dirs
63
- @GOOS=$(GOOS ) GOARCH=$(ARCH ) go build \
64
- -i \
65
- -o dist/oci-cloud-controller-manager \
66
- -installsuffix " static" \
63
+ @GOOS=$(GOOS ) GOARCH=$(ARCH ) go build \
64
+ -o dist/oci-cloud-controller-manager \
65
+ -installsuffix " static" \
67
66
-ldflags " -X main.version=$( VERSION) -X main.build=$( BUILD) " \
68
67
./cmd/oci-cloud-controller-manager
69
68
70
69
.PHONY : oci-volume-provisioner
71
70
oci-volume-provisioner : build-dirs
72
71
@GOOS=$(GOOS ) GOARCH=$(ARCH ) CGO_ENABLED=0 go build \
73
- -i \
74
72
-o dist/oci-volume-provisioner \
75
73
-ldflags=" -s -w -X main.version=${VERSION} -X main.build=${BUILD} -extldflags -static" \
76
74
./cmd/oci-volume-provisioner
@@ -79,7 +77,6 @@ oci-volume-provisioner: build-dirs
79
77
.PHONY : oci-flexvolume-driver
80
78
oci-flexvolume-driver : build-dirs
81
79
@GOOS=$(GOOS ) GOARCH=$(ARCH ) CGO_ENABLED=0 go build \
82
- -i \
83
80
-o dist/oci-flexvolume-driver \
84
81
-ldflags=" -s -w -X main.version=$( VERSION) -X main.build=$( BUILD) " \
85
82
./cmd/oci-flexvolume-driver/
Original file line number Diff line number Diff line change @@ -22,7 +22,5 @@ export CGO_ENABLED=0
22
22
23
23
TARGETS=$( for d in " $@ " ; do echo ./$d /...; done)
24
24
25
- echo " Building tests..."
26
- go test -i -installsuffix " static" ${TARGETS}
27
25
echo " Running tests..."
28
26
go test -v -installsuffix " static" ${TARGETS}
You can’t perform that action at this time.
0 commit comments