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

Add --skip-executables #506

Merged

Conversation

straight-shoota
Copy link
Member

This patch adds a --skip-executables flag for the install and update commands which disables installing files defined as executables in any shard.yml

This is a minimal solution for #498 with behaviour I think we can all agree on.

I would go one step further and also imply this flag when --skip-postinstall is used, because executables are typically built by postinstall hooks and if they're not executed, installing the executables will fail (see #498 (comment)).
But this is not strictly necessary for this PR, we can at least provide an option (even if it's more lengthy) to skip installation of executables.

The manpages diff is big and contains unrelated changes because of #505, which is included as the first commit here and thus should be merged first.

@straight-shoota straight-shoota merged commit 42f90ac into crystal-lang:master Jun 25, 2021
@straight-shoota straight-shoota deleted the feature/skip-executables branch June 25, 2021 16:41
@straight-shoota straight-shoota added this to the v0.15.0 milestone Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants