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

Make the Packaging Script Cross-Platform #52

Merged

Conversation

InsertCreativityHere
Copy link
Member

Some time ago I opened #32, because the scripts and actions didn't work on Windows.
This PR updates the scripts to be cross-platform... which really only requires one change.

Part of the process is making the 'slice' directory read-only, and the script did this with chmod.
This command doesn't exist on Windows.

So, like any good javascript developer, I added a dependency which allows our build scripts to run OS-dependent paths.
For *nix platforms, the code is the same, but now for Windows, we use the 'equivalent' command: attrib.

Copy link
Contributor

@ReeceHumphreys ReeceHumphreys left a comment

Choose a reason for hiding this comment

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

Looks good.

@InsertCreativityHere InsertCreativityHere merged commit 55df9ee into zeroc-ice:main Feb 20, 2024
7 checks passed
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.

3 participants