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

Build Windows binary #2443

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Build Windows binary #2443

wants to merge 3 commits into from

Conversation

mattn
Copy link

@mattn mattn commented Oct 15, 2024

No description provided.

Signed-off-by: Yasuhiro Matsumoto <[email protected]>
Signed-off-by: Yasuhiro Matsumoto <[email protected]>
Copy link

Ephemeral COPR build failed. @containers/packit-build please check.

Copy link

A friendly reminder that this PR had no activity for 30 days.

Copy link
Contributor

@mtrmac mtrmac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mattn IIRC this PR has never passed tests. Are you still working on it?


# N/B: This value is managed by Renovate, manual changes are
# possible, as long as they don't disturb the formatting
# (i.e. DO NOT ADD A 'v' prefix!)
GOLANGCI_LINT_VERSION := 1.61.0

ifeq ($(GOBIN),)
GOBIN := $(GOPATH)/bin
GOBIN := $(subst \,/,$(shell $(GO) env GOPATH))/bin
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is surprising to me. make doesn’t like native-style paths? Which implementation is this?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On Windows, GOPATH include backslash not slash.

Makefile Outdated
@@ -99,11 +99,16 @@ ifeq ($(DISABLE_CGO), 1)
override BUILDTAGS = exclude_graphdriver_btrfs containers_image_openpgp
endif

BIN=bin/skopeo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Naming this something a bit more explicit would help. SKOPEO_BIN? SKOPEO_TARGET?


There are quite a few other instances of bin/skopeo in the Makefile, why don’t they need updating?

@github-actions github-actions bot removed the stale-pr label Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants