1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-28 02:54:31 +03:00
vimr/bin
2022-03-30 22:41:42 +02:00
..
third_party Update README 2021-12-12 20:46:25 +01:00
__init__.py Move third party scripts to bin and add an action for building deps 2021-12-12 17:06:19 +01:00
.gitignore Move third party scripts to bin and add an action for building deps 2021-12-12 17:06:19 +01:00
.python-version Add Python version 2021-12-11 18:22:27 +01:00
build_deps.sh Use JSON instead of multiple txt files 2022-01-11 14:11:17 +01:00
build_nvimserver_for_local_dev.sh Update neovim 2022-02-13 11:45:26 +01:00
build_release.sh Create release automatically 2022-03-30 22:41:42 +02:00
build_vimr_dev.sh Add vimr-deps download script 2021-12-12 20:39:24 +01:00
build_vimr.sh Add vimr-deps download script 2021-12-12 20:39:24 +01:00
download_nvimserver.sh Use JSON instead of multiple txt files 2022-01-11 14:11:17 +01:00
download_vimr_deps.sh Use JSON instead of multiple txt files 2022-01-11 14:11:17 +01:00
generate_autocmds.py Update neovim 2020-12-20 15:53:11 +01:00
generate_cursor_shape.py Update neovim 2020-12-20 15:53:11 +01:00
generate_sources.sh Update neovim 2020-12-20 15:53:11 +01:00
notarize_vimr.sh Update release notes 2021-02-20 16:02:13 +01:00
README.md Update README 2021-12-12 20:46:25 +01:00
requirements.txt Add Python version 2021-12-11 18:22:27 +01:00
resources Add vimr-deps download script 2021-12-12 20:39:24 +01:00
set_appcast.py Adapt sparkle signing 2022-03-19 11:14:59 +01:00
set_new_versions.sh Create release automatically 2022-03-30 22:41:42 +02:00
setup.py Move third party scripts to bin and add an action for building deps 2021-12-12 17:06:19 +01:00
sign_update Temp 2016-10-14 15:58:58 +02:00
sign_vimr.sh Adapt code and scripts for Sparkle v2 2022-03-19 10:20:05 +01:00
wait_for_notarization.py Fix script 2020-11-17 19:39:45 +01:00
watch_nvimserver_and_build.sh Update neovim 2022-02-13 11:45:26 +01:00
workflows Move third party scripts to bin and add an action for building deps 2021-12-12 17:06:19 +01:00

How to use

  • cd into ${PROJECT_ROOT}/bin, this directory.
  • Install pyenv and pyenv-virtuelenv.
  • Install Python 3.9.7 using pyenv.
  • Create a virtualenv with the name com.qvacua.VimR.bin.
  • Ensure that you're running the Python in the virtualenv by
    pyenv which python
    /${HOME}/.pyenv/versions/com.qvacua.VimR.bin/bin/python
    
  • Install the requirements
    pip install -r requirements.txt
    python setup.py develop
    

How to build third party dependencies

  • Run build.py with, for example, the following arguments
    $ python build.py --arm64-deployment-target=11.00 --x86_64-deployment-target=10.13 \
                      --xz-version 5.2.4 --pcre-version 8.43 --ag-version 2.2.0
    

Built artifacts

The resulting artifacts are structured as follows

./third_party
    vimr-deps
        lib
            liba.a
            libb.a
            ...
        include
            a.h
            b.h
            ...
    liba
        include
            a.h
            ...
    libb
        include
            b.h
            ...