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

refactor(makefile): improve build targets and update versioning logic #40

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

supitsdu
Copy link
Owner

@supitsdu supitsdu commented Jul 9, 2024

  • Removed redundant third argument from the build function calls.
  • Updated the checksums target to dynamically list binaries in the output directory.
  • Added a new .PHONY target for version to display the latest git tag version.
  • Simplified the install and cleanup targets for clarity and efficiency.
  • Improved the help target to provide comprehensive usage instructions.
  • Ensured the clean target effectively removes the output directory.

These changes enhance the Makefile's maintainability and provide clearer, more efficient build processes.

- Removed redundant third argument from the `build` function calls.
- Updated the `checksums` target to dynamically list binaries in the output directory.
- Added a new `.PHONY` target for `version` to display the latest git tag version.
- Simplified the `install` and `cleanup` targets for clarity and efficiency.
- Improved the `help` target to provide comprehensive usage instructions.
- Ensured the `clean` target effectively removes the output directory.

These changes enhance the Makefile's maintainability and provide clearer, more efficient build processes.
@supitsdu supitsdu added build Changes related to the build process or CI/CD. refactoring Issues or PRs to improving code structure, without changing its external behavior labels Jul 9, 2024
@supitsdu supitsdu merged commit 532c75d into main Jul 9, 2024
1 check passed
@supitsdu supitsdu deleted the build/makefile-improvements branch July 9, 2024 17:17
@ccoVeille
Copy link
Contributor

Hi @supitsdu

I'm curious if unmake would report errors

https://github.com/mcandre/unmake

Note: I don't have a computer at my holidays place, only a phone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Changes related to the build process or CI/CD. refactoring Issues or PRs to improving code structure, without changing its external behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants