Commit graph

8 commits

Author SHA1 Message Date
Alexander Gehrke 7c14c8ae1a install.zsh: allow alternatives in deps
Specify a dependency as a|b to check if either a or b is available as a
command. The script itself must check at runtime, which one is actually
available and use the right one. Helper methods for this are provided in
lib/common.zsh:
  - `alternatives a b` aliases a to b, if a is not available
  - `alternatives-noparam a b` replaces a with b, if a is not available,
    and discards any parameters (e.g. for replacing a formatter with cat)
2021-01-11 12:29:39 +01:00
Alexander Gehrke 5b6e6e4702 [install.sh] fix dependency check 2021-01-11 10:35:04 +01:00
Alexander Gehrke a86798e665 install.zsh: add options for handling unmet preconditions 2020-11-27 14:34:41 +01:00
Alexander Gehrke a2d794ea70 Do most dependency checking during install instead of runtime 2020-11-27 14:31:28 +01:00
root 1809ffacb3 fix minor errors in install and worldfile script 2020-11-24 21:54:06 +00:00
crater2150 84c77021e4 install.zsh: check for correct interpreter, instead of always checking for ruby 2020-11-24 22:47:03 +01:00
crater2150 b1b6b52fc8 Nicer output when skipping installs 2020-04-02 11:12:27 +02:00
Alexander Gehrke 3d67598c27 Restructuring the repo 2020-04-02 10:38:36 +02:00