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

Add "make clean" target #363

Merged
merged 1 commit into from
Apr 30, 2024
Merged

Conversation

ldoktor
Copy link
Contributor

@ldoktor ldoktor commented Apr 24, 2024

to provide a standard way to clean the environment after build.

Note I'm not a heavy "go" user so I simply took the paths from ".gitignore". I experimented with "go clean" but it did not work for me.

to provide a standard way to clean the environment after build.

Signed-off-by: Lukáš Doktor <[email protected]>
@@ -152,6 +152,10 @@ endif
docker-push: ## Push docker image with the manager.
docker push ${IMG}

.PHONY: clean
clean: ## Cleanup the build generated files
rm -Rf bin/ cover.out bundle_tmp*
Copy link
Member

Choose a reason for hiding this comment

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

There are other make targets that will install binaries under bin/ so I think delete them via rm was the right decision (rather than go clean)

Copy link
Member

@wainersm wainersm left a comment

Choose a reason for hiding this comment

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

Thanks @ldoktor !

Copy link
Member

@beraldoleal beraldoleal left a comment

Choose a reason for hiding this comment

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

LGTM, thanks.

Copy link
Member

@stevenhorsman stevenhorsman left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks

@wainersm wainersm merged commit 7603351 into confidential-containers:main Apr 30, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants