mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-28 11:35:35 +03:00
37 lines
802 B
Bash
Executable File
37 lines
802 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "### Building VimR"
|
|
|
|
# Build NeoVim
|
|
# 0. Delete previously built things
|
|
# 1. Build normally to get the full runtime folder and copy it to the neovim's project root
|
|
# 2. Delete the build folder to re-configure
|
|
# 3. Build libnvim
|
|
pushd neovim
|
|
|
|
ln -f -s ../local.mk .
|
|
|
|
rm -rf build
|
|
make distclean
|
|
|
|
echo "### Building nvim to get the runtime folder"
|
|
make CMAKE_FLAGS="-DCUSTOM_UI=0"
|
|
make CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=/tmp/nvim" install
|
|
cp -r /tmp/nvim/share/nvim/runtime .
|
|
|
|
make clean
|
|
rm -rf build
|
|
|
|
echo "### Building libnvim"
|
|
make libnvim
|
|
|
|
popd
|
|
|
|
echo "### Updating carthage"
|
|
carthage update --platform osx
|
|
|
|
echo "### Building vimr target"
|
|
xcodebuild CODE_SIGN_IDENTITY="Developer ID Application: Tae Won Ha (H96Q2NKTQH)" -configuration Release -target VimR
|
|
|
|
echo "### Built VimR"
|