testing..
This commit is contained in:
parent
79876e23fd
commit
4b5f2263ab
1 changed files with 9 additions and 5 deletions
14
neovim.sh
14
neovim.sh
|
@ -33,6 +33,7 @@
|
||||||
rm "$import"
|
rm "$import"
|
||||||
source
|
source
|
||||||
# echo_warning "cleaned $import"
|
# echo_warning "cleaned $import"
|
||||||
|
|
||||||
source-script "https://git.k4li.de/scripts/beddu/raw/branch/main/dist/beddu.sh"
|
source-script "https://git.k4li.de/scripts/beddu/raw/branch/main/dist/beddu.sh"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -75,11 +76,14 @@
|
||||||
|
|
||||||
if command_exists git; then
|
if command_exists git; then
|
||||||
spin yellow "Cloning $PACKAGE sources at $cloneDir/neovim.."
|
spin yellow "Cloning $PACKAGE sources at $cloneDir/neovim.."
|
||||||
if run git clone --depth=1 https://github.com/neovim/neovim.git; then
|
if run 'git clone --depth=1 https://github.com/neovim/neovim.git'; then
|
||||||
cd neovim || echo_error "Cannot navigate into neovim"
|
cd neovim || throw "Cannot navigate into neovim"
|
||||||
|
|
||||||
check "Cloned sources"
|
check "Cloned sources"
|
||||||
|
line
|
||||||
|
pen ${output:-}
|
||||||
else
|
else
|
||||||
echo_error "Cannot clone the repo.."
|
throw "Cannot clone the repo.."
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo_error "Git was required, but is missing.. exiting now"
|
echo_error "Git was required, but is missing.. exiting now"
|
||||||
|
@ -91,9 +95,9 @@
|
||||||
makeInstall() {
|
makeInstall() {
|
||||||
# echo_pkg build "Compiling neovim from source"
|
# echo_pkg build "Compiling neovim from source"
|
||||||
spin "Compiling neovim from source"
|
spin "Compiling neovim from source"
|
||||||
if run make CMAKE_BUILD_TYPE=RelWithDebInfo; then
|
if run "make CMAKE_BUILD_TYPE=RelWithDebInfo"; then
|
||||||
echo_pkg install
|
echo_pkg install
|
||||||
run $_sudo make install
|
$_sudo make install
|
||||||
else
|
else
|
||||||
echo_error "Failure while building!"
|
echo_error "Failure while building!"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue