testing new syntax.. kinda..
This commit is contained in:
parent
88e009adcd
commit
4e2f3e3d68
1 changed files with 9 additions and 1 deletions
10
neovim.sh
10
neovim.sh
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue