mirror of
https://github.com/Morantron/tmux-fingers.git
synced 2026-09-10 07:26:32 -04:00
update install-wizard and readme to show that shards is required (#166)
* update install-wizard and readme to show that shards is required Signed-off-by: Matthew Wilson <54033231+wilson-matthew@users.noreply.github.com> * updated CHANGELOG.md --------- Signed-off-by: Matthew Wilson <54033231+wilson-matthew@users.noreply.github.com> Co-authored-by: Jorge Morante <jorge@morante.eu>
This commit is contained in:
parent
1bcbcaa2af
commit
7fd9896491
|
|
@ -31,8 +31,8 @@ trap finish EXIT
|
||||||
function install_from_source() {
|
function install_from_source() {
|
||||||
echo "Installing from source..."
|
echo "Installing from source..."
|
||||||
|
|
||||||
# check if shards is installed
|
# check if crystal is installed
|
||||||
if ! command -v shards >/dev/null 2>&1; then
|
if ! command -v crystal >/dev/null 2>&1; then
|
||||||
echo "crystal is not installed. Please install it first."
|
echo "crystal is not installed. Please install it first."
|
||||||
echo ""
|
echo ""
|
||||||
echo " https://crystal-lang.org/install/"
|
echo " https://crystal-lang.org/install/"
|
||||||
|
|
@ -40,6 +40,15 @@ function install_from_source() {
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# check if shards is installed
|
||||||
|
if ! command -v shards >/dev/null 2>&1; then
|
||||||
|
echo "shards is not installed. Please install it first."
|
||||||
|
echo ""
|
||||||
|
echo " https://crystal-lang.org/reference/latest/man/shards/index.html"
|
||||||
|
echo ""
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
pushd $CURRENT_DIR > /dev/null
|
pushd $CURRENT_DIR > /dev/null
|
||||||
WIZARD_INSTALLATION_METHOD=build-from-source shards build --production
|
WIZARD_INSTALLATION_METHOD=build-from-source shards build --production
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue