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"
|
||||
source
|
||||
# echo_warning "cleaned $import"
|
||||
|
||||
source-script "https://git.k4li.de/scripts/beddu/raw/branch/main/dist/beddu.sh"
|
||||
}
|
||||
|
||||
|
@ -75,11 +76,14 @@
|
|||
|
||||
if command_exists git; then
|
||||
spin yellow "Cloning $PACKAGE sources at $cloneDir/neovim.."
|
||||
if run git clone --depth=1 https://github.com/neovim/neovim.git; then
|
||||
cd neovim || echo_error "Cannot navigate into neovim"
|
||||
if run 'git clone --depth=1 https://github.com/neovim/neovim.git'; then
|
||||
cd neovim || throw "Cannot navigate into neovim"
|
||||
|
||||
check "Cloned sources"
|
||||
line
|
||||
pen ${output:-}
|
||||
else
|
||||
echo_error "Cannot clone the repo.."
|
||||
throw "Cannot clone the repo.."
|
||||
fi
|
||||
else
|
||||
echo_error "Git was required, but is missing.. exiting now"
|
||||
|
@ -91,9 +95,9 @@
|
|||
makeInstall() {
|
||||
# echo_pkg build "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
|
||||
run $_sudo make install
|
||||
$_sudo make install
|
||||
else
|
||||
echo_error "Failure while building!"
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue