Skip to content

Commit

Permalink
Bring back out/cf-cli_linux_x86-64 target
Browse files Browse the repository at this point in the history
  • Loading branch information
gururajsh committed Jun 21, 2024
1 parent 6fe2805 commit b32830e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ integration-tests-full-ci: install-test-deps integration-cleanup

lint: format ## Runs all linters and formatters
@echo "Running linters..."
golangci-lint run --skip-dirs cf --skip-dirs fixtures --skip-dirs plugin --skip-dirs command/plugin
golangci-lint run --exclude-dirs cf --exclude-dirs fixtures --exclude-dirs plugin --exclude-dirs command/plugin
@echo "No lint errors!"

# TODO: version specific tagging for all these builds
Expand All @@ -162,6 +162,11 @@ out/cf-cli_linux_i686: $(GOSRC)
CGO_ENABLED=0 GOARCH=386 GOOS=linux go build \
$(REQUIRED_FOR_STATIC_BINARY) \
-ldflags "$(LD_FLAGS_LINUX)" -o out/cf-cli_linux_i686 .

out/cf-cli_linux_x86-64: $(GOSRC)
CGO_ENABLED=0 GOARCH=amd64 GOOS=linux go build \
$(REQUIRED_FOR_STATIC_BINARY) \
-ldflags "$(LD_FLAGS_LINUX)" -o out/cf-cli_linux_x86-64 .

out/cf-cli_linux_arm64: $(GOSRC)
CGO_ENABLED=0 GOARCH=arm64 GOOS=linux go build \
Expand All @@ -172,9 +177,9 @@ out/cf-cli_osx: $(GOSRC)
GOARCH=amd64 GOOS=darwin go build \
-a -ldflags "$(LD_FLAGS)" -o out/cf-cli_osx .

out/cf-cli_osx_arm: $(GOSRC)
out/cf-cli_macosarm: $(GOSRC)
GOARCH=arm64 GOOS=darwin go build \
-a -ldflags "$(LD_FLAGS)" -o out/cf-cli_osx_arm .
-a -ldflags "$(LD_FLAGS)" -o out/cf-cli_macosarm .

out/cf-cli_win32.exe: $(GOSRC) rsrc.syso
GOARCH=386 GOOS=windows go build -tags="forceposix" -o out/cf-cli_win32.exe -ldflags "$(LD_FLAGS)" .
Expand Down

0 comments on commit b32830e

Please sign in to comment.