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

(#3618) Ensure ILMerge can run #3619

Closed
wants to merge 1 commit into from
Closed

Conversation

corbob
Copy link
Member

@corbob corbob commented Jan 31, 2025

Description Of Changes

Previously in #3609 we removed the No7zip build configuration. This build configuration set itself as a dependee of ILMerge, and a Dependent of Build and Test. This resulted in the ILMerge task being dependent upon Build and Test.

This commit sets the ILMerge task to be dependent upon both Build and Test so that builds that target just the ILMerge can succeed.

Motivation and Context

Ensure we can do an ILMerge without needing to run other tasks first.

Testing

  1. Run git clean -xdf to remove all non-commited files.
  2. Run .\build.bat --target=Run-ILMerge
  3. Ensure it completes successfully.

Operating Systems Testing

Windows 11

Change Types Made

  • Bug fix (non-breaking change).
  • Feature / Enhancement (non-breaking change).
  • Breaking change (fix or feature that could cause existing functionality to change).
  • Documentation changes.
  • PowerShell code changes.
  • Build changes.

Change Checklist

  • Requires a change to the documentation.
  • Documentation has been updated.
  • Tests to cover my changes, have been added.
  • All new and existing tests passed?
  • PowerShell code changes: PowerShell v3 compatibility checked?

Related Issue

Previously in chocolatey#3609 we removed the No7zip build configuration. This
build configuration set itself as a dependee of ILMerge, and a Dependent
of Build and Test. This resulted in the ILMerge task being dependent
upon Build and Test.

This commit sets the ILMerge task to be dependent upon both Build and
Test so that builds that target just the ILMerge can succeed.
@corbob corbob requested a review from gep13 January 31, 2025 22:46
@gep13
Copy link
Member

gep13 commented Feb 4, 2025

@corbob I am going to go ahead and close this PR, since this has been addressed in the latest version of Chocolatey.Cake.Recipe, which we are going to upgrade to.

@gep13 gep13 closed this Feb 4, 2025
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.

Unable to target specifically Run-ILMerge task in build
2 participants