Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): remove Makefile targets to build Go binaries #7389

Merged
merged 1 commit into from
Feb 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
41 changes: 1 addition & 40 deletions cli/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,46 +40,6 @@ build: install
cd $(CLI_DIR)/../ && pnpm install --filter=eslint-config-turbo && pnpm turbo-prebuilt build --filter=eslint-config-turbo...
cd $(CLI_DIR)/../ && pnpm install --filter=@turbo/types && pnpm turbo-prebuilt build --filter=@turbo/types...

.PHONY: publish-turbo-cross
publish-turbo-cross: prepublish
goreleaser release --rm-dist -f cross-release.yml

.PHONY: publish-turbo-darwin
publish-turbo-darwin: prepublish
goreleaser release --rm-dist -f darwin-release.yml

.PHONY: snapshot-turbo-cross
snapshot-turbo-cross:
goreleaser release --snapshot --rm-dist -f cross-release.yml

.PHONY: snapshot-turbo-darwin
snapshot-turbo-darwin:
goreleaser release --snapshot --rm-dist -f darwin-release.yml

.PHONY: snapshot-lib-turbo-darwin
snapshot-lib-turbo-darwin:
goreleaser release --snapshot --rm-dist -f darwin-lib.yml

.PHONY: snapshot-lib-turbo-cross
snapshot-lib-turbo-cross:
goreleaser release --snapshot --rm-dist -f cross-lib.yml

.PHONY: build-lib-turbo-darwin
build-lib-turbo-darwin:
goreleaser release --rm-dist -f darwin-lib.yml

.PHONY: build-go-turbo-darwin
build-go-turbo-darwin:
goreleaser release --rm-dist -f darwin-release.yml

.PHONY: build-go-turbo-cross
build-go-turbo-cross:
goreleaser release --rm-dist -f cross-release.yml

.PHONY: build-lib-turbo-cross
build-lib-turbo-cross:
goreleaser release --rm-dist -f cross-lib.yml

.PHONY: stage-release
stage-release:
echo "Version: $(TURBO_VERSION)"
Expand Down Expand Up @@ -119,6 +79,7 @@ publish-turbo: clean build
npm config set --location=project "//registry.npmjs.org/:_authToken" $(NPM_TOKEN)

# Publishes the native npm modules.
# TODO: do this without goreleaser.
goreleaser release --rm-dist -f combined-shim.yml $(SKIP_PUBLISH)

# Split packing from the publish step so that npm locates the correct .npmrc file.
Expand Down