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 https://github.com/crystal-lang/shards/issues/498#issuecomment-826122183).
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.
This patch adds a
--skip-executables
flag for theinstall
andupdate
commands which disables installing files defined asexecutables
in anyshard.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 https://github.com/crystal-lang/shards/issues/498#issuecomment-826122183). 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.