wip
This commit is contained in:
parent
6ef963f06e
commit
46597d1677
1 changed files with 5 additions and 1 deletions
|
@ -35,6 +35,7 @@
|
|||
}
|
||||
|
||||
installBuildDependencies() {
|
||||
echo_info "Checking build dependencies, and installs missing.."
|
||||
local depsDebian=(ninja-build gettext cmake curl build-essential)
|
||||
local depsFedora=(ninja-build cmake gcc make gettext curl glibc-gconv-extra)
|
||||
local depsOpensuse=(ninja cmake gcc-c++ gettext-tools curl)
|
||||
|
@ -56,6 +57,7 @@
|
|||
|
||||
cloneSources() {
|
||||
local cloneDir="$(mktemp -d)"
|
||||
echo_info "Cloning neovim sources into tempdir at $cloneDir"
|
||||
cd $cloneDir || mkdir $cloneDir && cd $cloneDir
|
||||
|
||||
if command_exists git; then
|
||||
|
@ -71,8 +73,10 @@
|
|||
}
|
||||
|
||||
makeInstall() {
|
||||
echo_info "Compiling neovim from source"
|
||||
if run make CMAKE_BUILD_TYPE=RelWithDebInfo; then
|
||||
$_sudo make install
|
||||
echo_info "Installing neovim.."
|
||||
run $_sudo make install
|
||||
else
|
||||
echo_error "Failure while building!"
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue