testing new syntax.. kinda..

This commit is contained in:
pika 2025-05-23 16:57:36 +02:00
parent 88e009adcd
commit 4e2f3e3d68

View file

@ -103,7 +103,15 @@
# spin yellow "Cloning $(pen bold red $PACKAGE) $(pen yellow 'sources at') $(pen red $cloneDir/neovim).."
if command_exists git; then
run --err err git clone --depth=1 https://github.com/neovim/neovim.git && check green "Cloned $PACKAGE sources" && cd neovim || throw "Error cloning neovim" && pen bold red "The error: ${err:-}"
if run --err err git clone --depth=1 https://github.com/neovim/neovim.git; then
check green "Cloned $PACKAGE sources"
cd neovim
else
throw "Error cloning neovim"
pen bold red "The error: ${err:-}"
fi
# minifyed version..
# run --err err git clone --depth=1 https://github.com/neovim/neovim.git && check green "Cloned $PACKAGE sources" && cd neovim || throw "Error cloning neovim" && pen bold red "The error: ${err:-}"
else
echo_error "Git was required, but is missing.. exiting now"
return 69