#!/bin/sh set -e source ./.versions echo echo "Installing neovim $NEOVIM_VERSION..." echo apk add --no-cache \ gettext \ unibilium \ libtermkey \ libvterm \ libgcc \ python3 \ clang-libs # For deoplete-clang apk add --no-cache --virtual .build-deps \ curl \ git \ unzip \ build-base \ autoconf \ automake \ cmake \ libtool \ gettext-dev \ unibilium-dev \ libtermkey-dev \ libvterm-dev \ python3-dev \ python3 git clone https://github.com/neovim/neovim.git cd neovim if [ "$NEOVIM_VERSION" = "nightly" ]; then git checkout $NEOVIM_VERSION else git checkout v$NEOVIM_VERSION fi make CMAKE_EXTRA_FLAGS=-DENABLE_JEMALLOC=OFF >/dev/null || make make install cd .. rm -rf neovim pip3 install --no-cache-dir neovim apk del --no-cache .build-deps