wip
This commit is contained in:
parent
e7a1a851a8
commit
7e4f33689c
1 changed files with 9 additions and 6 deletions
15
neovim.sh
15
neovim.sh
|
@ -29,6 +29,7 @@
|
||||||
source "$import"
|
source "$import"
|
||||||
|
|
||||||
echo "${BLUE}Sourcing external script:${NC} $url"
|
echo "${BLUE}Sourcing external script:${NC} $url"
|
||||||
|
line
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
rm -f "$import"
|
rm -f "$import"
|
||||||
fi
|
fi
|
||||||
|
@ -70,17 +71,19 @@
|
||||||
cloneDir="$(mktemp -d)"
|
cloneDir="$(mktemp -d)"
|
||||||
cd $cloneDir || mkdir $cloneDir && cd $cloneDir
|
cd $cloneDir || mkdir $cloneDir && cd $cloneDir
|
||||||
|
|
||||||
line
|
# line
|
||||||
|
|
||||||
# spin yellow "Cloning $(pen bold red $PACKAGE) $(pen yellow 'sources at') $(pen red $cloneDir/neovim).."
|
|
||||||
|
|
||||||
|
spin yellow "Cloning $(pen bold red ${PACKAGE:-neovim}) $(pen yellow 'sources at') $(pen red $cloneDir/neovim).."
|
||||||
|
sleep 0.3
|
||||||
if command_exists git; then
|
if command_exists git; then
|
||||||
if run --err err git clone --depth=1 https://github.com/neovim/neovim.git; then
|
if run --err err git clone --depth=1 https://github.com/neovim/neovim.git; then
|
||||||
check green "Cloned $PACKAGE sources"
|
upclear
|
||||||
|
check bold green "Cloned $PACKAGE sources"
|
||||||
cd neovim
|
cd neovim
|
||||||
else
|
else
|
||||||
|
upclear
|
||||||
throw "Error cloning neovim"
|
throw "Error cloning neovim"
|
||||||
pen bold red "The error: ${err:-}"
|
echo-error "The error: ${err:-}"
|
||||||
fi
|
fi
|
||||||
# minifyed version..
|
# 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:-}"
|
# 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:-}"
|
||||||
|
@ -88,7 +91,6 @@
|
||||||
echo-error "Git was required, but is missing.. exiting now"
|
echo-error "Git was required, but is missing.. exiting now"
|
||||||
return 69
|
return 69
|
||||||
fi
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
makeInstall() {
|
makeInstall() {
|
||||||
|
@ -224,6 +226,7 @@
|
||||||
|
|
||||||
if ! command_exists pkg-install && ! command_exists check-and-install && ! command_exists spin; then
|
if ! command_exists pkg-install && ! command_exists check-and-install && ! command_exists spin; then
|
||||||
source-script $dream
|
source-script $dream
|
||||||
|
line
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue