Develop #140

Merged
metal3d merged 4 commits from develop into master 2025-07-15 11:45:38 +00:00
Owner

This pull request introduces several updates to the Makefile, primarily aimed at improving build processes, refining task organization, and enhancing functionality. The changes include new targets for better modularity, updates to existing commands for clarity, and improvements to the handling of dependencies and environment checks.

Build Process Enhancements:

  • Refactored dist and dist-full targets: Split the dist target into binaries, upx, and packages for better modularity. Updated dist-full to include clean-dist and additional checks.
  • Improved UPX compression handling: Created separate targets (upx-linux and upx-darwin) for platform-specific compression, simplifying the upx target.

Task Organization:

  • Expanded .PHONY targets: Added multiple new targets such as binaries, clean-all, show-cover, and warn-docker to improve task organization and usability.
  • Renamed build-all to binaries: Updated help documentation to reflect the new target name for building binaries across all platforms.

Environment and Dependency Improvements:

  • Enhanced check-sign target: Added a blank environment check to verify GPG signatures and trust key setup in a controlled containerized environment.
  • Improved cleanup targets: Added clean-all, clean-package-signer, and clean-go-cache for more granular cleanup options, including removal of cached volumes and secret files.

These updates streamline the build process, improve clarity, and ensure better handling of dependencies and environment configurations.

This pull request introduces several updates to the `Makefile`, primarily aimed at improving build processes, refining task organization, and enhancing functionality. The changes include new targets for better modularity, updates to existing commands for clarity, and improvements to the handling of dependencies and environment checks. ### Build Process Enhancements: * **Refactored `dist` and `dist-full` targets**: Split the `dist` target into `binaries`, `upx`, and `packages` for better modularity. Updated `dist-full` to include `clean-dist` and additional checks. * **Improved UPX compression handling**: Created separate targets (`upx-linux` and `upx-darwin`) for platform-specific compression, simplifying the `upx` target. ### Task Organization: * **Expanded `.PHONY` targets**: Added multiple new targets such as `binaries`, `clean-all`, `show-cover`, and `warn-docker` to improve task organization and usability. * **Renamed `build-all` to `binaries`**: Updated help documentation to reflect the new target name for building binaries across all platforms. ### Environment and Dependency Improvements: * **Enhanced `check-sign` target**: Added a blank environment check to verify GPG signatures and trust key setup in a controlled containerized environment. * **Improved cleanup targets**: Added `clean-all`, `clean-package-signer`, and `clean-go-cache` for more granular cleanup options, including removal of cached volumes and secret files. These updates streamline the build process, improve clarity, and ensure better handling of dependencies and environment configurations.
Sign in to join this conversation.
No description provided.