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

Use the addHeader tool to standardize the license headers #75

Closed
spolti opened this issue Nov 30, 2023 · 1 comment
Closed

Use the addHeader tool to standardize the license headers #75

spolti opened this issue Nov 30, 2023 · 1 comment
Assignees

Comments

@spolti
Copy link
Contributor

spolti commented Nov 30, 2023

The goal of this issue is to add a new step to take care of the license headers as part of the go fmt make goal to keep it consistent across all files it is present.

This new step will have:

  • a standalone make goal: make add-header
  • will be called as part of the make fmt

Pre requisites:

  • the headers should not have tabs, only spaces.

Tool to use:

  • go install github.com/google/addlicense@latest

Makefile call:

.PHONY: addheaders
addheaders:
	./scripts/addheaders.sh
@spolti
Copy link
Contributor Author

spolti commented Nov 30, 2023

Duplicate of #74

@spolti spolti marked this as a duplicate of #74 Nov 30, 2023
@spolti spolti closed this as completed Nov 30, 2023
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

No branches or pull requests

1 participant