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: use go to bootstrap downloading and running task #2959

Draft
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

kzantow
Copy link
Contributor

@kzantow kzantow commented Jun 13, 2024

This PR removes even more of the makefile to rely on go itself to bootstrap downloading needed tools. It probably needs some work. You can try it out like this:

git clone [email protected]:kzantow-anchore/syft.git -b feat/go-build

Signed-off-by: Keith Zantow <[email protected]>
Signed-off-by: Keith Zantow <[email protected]>
Signed-off-by: Keith Zantow <[email protected]>
Signed-off-by: Keith Zantow <[email protected]>
Signed-off-by: Keith Zantow <[email protected]>
Signed-off-by: Keith Zantow <[email protected]>
@@ -86,6 +95,10 @@ tools:
method: github-release
with:
repo: wagoodman/go-bouncer
# method: go-install
# with:
# module: github.com/wagoodman/go-bouncer
Copy link
Contributor Author

Choose a reason for hiding this comment

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

NOTE this does not work to go-install due to a step during the release which exports data from the Google license classifier: https://github.com/wagoodman/go-bouncer/blob/a28bee0a43c0c55883c7fee39c691a52d10ad0f0/Makefile#L66

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.

1 participant