;install: also list installed cabal, stack, pip versions
This commit is contained in:
parent
69a8834803
commit
13cd01ca36
@ -29,6 +29,13 @@ hledger-interest \
|
|||||||
hledger-iadd \
|
hledger-iadd \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
# Additional install-related tools to be listed
|
||||||
|
INSTALL_TOOLS="\
|
||||||
|
stack \
|
||||||
|
cabal \
|
||||||
|
pip \
|
||||||
|
"
|
||||||
|
|
||||||
# Package versions to be installed by this install script.
|
# Package versions to be installed by this install script.
|
||||||
# Keep synced with the tools above.
|
# Keep synced with the tools above.
|
||||||
# When changing remember to also bump HLEDGER_INSTALL_VERSION.
|
# When changing remember to also bump HLEDGER_INSTALL_VERSION.
|
||||||
@ -865,7 +872,7 @@ print_cmd_version() {
|
|||||||
|
|
||||||
# Show the current installation status of the hledger packages.
|
# Show the current installation status of the hledger packages.
|
||||||
print_installed_versions() {
|
print_installed_versions() {
|
||||||
for cmd in $HLEDGER_TOOLS ; do print_cmd_version "$cmd"; done
|
for cmd in $INSTALL_TOOLS $HLEDGER_TOOLS ; do print_cmd_version "$cmd"; done
|
||||||
}
|
}
|
||||||
|
|
||||||
# Run a command, but first log it with "Trying" prepended.
|
# Run a command, but first log it with "Trying" prepended.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user