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

Keep the build directory clean with the --local-package-dir argument #949

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

smorimoto
Copy link
Member

No description provided.

@smorimoto smorimoto added the enhancement New feature or request label Mar 12, 2025
@smorimoto smorimoto requested a review from Copilot March 12, 2025 13:16

Choose a reason for hiding this comment

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

Pull Request Overview

This PR cleans up the build directory by leveraging the --local-package-dir argument in the Cygwin setup. Key changes include:

  • Removal of the git ignore configuration logic in the Windows setup script.
  • Introduction of a new constant, CYGWIN_LOCAL_PACKAGE_DIR, in the constants file.
  • Updates to the caching mechanism in cache.ts to remove dependencies on the removed variable.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

File Description
packages/setup-ocaml/src/windows.ts Removed Git configuration for excluding local packages and added the --local-package-dir argument.
packages/setup-ocaml/src/constants.ts Removed CYGWIN_MIRROR_ENCODED_URI and added CYGWIN_LOCAL_PACKAGE_DIR.
packages/setup-ocaml/src/cache.ts Updated cache key composition and directory paths to reflect the removal of CYGWIN_MIRROR_ENCODED_URI.
Signed-off-by: Sora Morimoto <sora@morimoto.io>
@smorimoto smorimoto merged commit e2670ac into master Mar 12, 2025
18 checks passed
@smorimoto smorimoto deleted the local-package-dir branch March 12, 2025 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant