diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-03-26 14:00:38 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-03-26 14:05:55 +0200 |
commit | fe6fd4025ae142fd754128c56ee16f6345ac16fd (patch) | |
tree | 474b09a2bf61a6f7614ed30964afe0b50a2a5909 /testing/crystal/alpine-shards-help.patch | |
parent | 83f35a93ac584825aa97fa0315238f85b9a88f47 (diff) | |
download | aports-fe6fd4025ae142fd754128c56ee16f6345ac16fd.tar.bz2 aports-fe6fd4025ae142fd754128c56ee16f6345ac16fd.tar.xz |
testing/crystal: change help msg "install shards" to recommend apk
Diffstat (limited to 'testing/crystal/alpine-shards-help.patch')
-rw-r--r-- | testing/crystal/alpine-shards-help.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/crystal/alpine-shards-help.patch b/testing/crystal/alpine-shards-help.patch new file mode 100644 index 0000000000..7510d0a144 --- /dev/null +++ b/testing/crystal/alpine-shards-help.patch @@ -0,0 +1,13 @@ +This is downstream patch only. + +--- a/src/compiler/crystal/command/deps.cr ++++ b/src/compiler/crystal/command/deps.cr +@@ -5,7 +5,7 @@ + private def deps + path_to_shards = `which shards`.chomp + if path_to_shards.empty? +- error "`shards` executable is missing. Please install shards: https://github.com/crystal-lang/shards" ++ error "`shards` executable is missing. Please install shards: apk add shards" + end + + status = Process.run(path_to_shards, args: options, output: Process::Redirect::Inherit, error: Process::Redirect::Inherit) |