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

simplify "go build" commands #232

Merged
merged 1 commit into from Aug 21, 2022
Merged

Conversation

thaJeztah
Copy link
Member

There's no need to specify the file to build, as we're building the "main" packages as a whole.

There's no need to specify the file to build, as we're building the
"main" packages as a whole.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@codecov-commenter
Copy link

codecov-commenter commented Aug 21, 2022

Codecov Report

Merging #232 (e847de4) into master (5302241) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #232   +/-   ##
=======================================
  Coverage   51.13%   51.13%           
=======================================
  Files           9        9           
  Lines         659      659           
=======================================
  Hits          337      337           
  Misses        286      286           
  Partials       36       36           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@thaJeztah thaJeztah merged commit 6dfcfc1 into docker:master Aug 21, 2022
@thaJeztah thaJeztah deleted the simplify_build branch August 21, 2022 13:43
@ZauberNerd
Copy link
Contributor

Cloning this repository on Linux and running make pass fails after this PR:

make pass
mkdir -p bin
go build -o bin/docker-credential-pass pass/cmd/
cannot find package "." in:
        /home/ubuntu/docker-credential-helpers/vendor/pass/cmd
make: *** [Makefile:26: pass] Error 1

Running go build -o bin/docker-credential-pass pass/cmd/main.go succeeds.

I'm on Ubuntu 22.04 with go version go1.19 linux/amd64

@thaJeztah
Copy link
Member Author

Oh! I think I see what may be wrong; does it work if you change the makefile to use; ./pass/cmd (adding ./) ?

@ZauberNerd
Copy link
Contributor

Oh! I think I see what may be wrong; does it work if you change the makefile to use; ./pass/cmd (adding ./) ?

Yes, thank you. That fixes the issue.

ZauberNerd added a commit to ZauberNerd/docker-credential-helpers that referenced this pull request Aug 25, 2022
ZauberNerd added a commit to ZauberNerd/docker-credential-helpers that referenced this pull request Aug 25, 2022
docker#232 (comment)

Fixes docker#232

Signed-off-by: Björn Brauer <bjoern.brauer@new-work.se>
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.

None yet

4 participants