-
Notifications
You must be signed in to change notification settings - Fork 783
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
base: main
Are you sure you want to change the base?
Build Windows binary #2443
Conversation
Signed-off-by: Yasuhiro Matsumoto <[email protected]>
Signed-off-by: Yasuhiro Matsumoto <[email protected]>
Ephemeral COPR build failed. @containers/packit-build please check. |
A friendly reminder that this PR had no activity for 30 days. |
There was a problem hiding this 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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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?
No description provided.