1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-29 08:43:26 +03:00
vimr/bin
2021-12-13 15:58:17 +01: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 Move third party scripts to bin and add an action for building deps 2021-12-12 17:06:19 +01:00
build_nvimserver_for_local_dev.sh Adapt script 2020-12-24 16:32:41 +01:00
build_release.sh Add build release script 2021-12-13 15:58:17 +01: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 Restructure a bit 2020-12-24 12:15:36 +01:00
download_vimr_deps.sh Add vimr-deps download script 2021-12-12 20:39:24 +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 Update appcast 2021-11-05 22:09:04 +01:00
set_new_versions.sh Use date as bundle version 2020-11-20 08:19:28 +01: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 Refactor slightly 2020-11-15 22:11:01 +01:00
wait_for_notarization.py Fix script 2020-11-17 19:39:45 +01:00
watch_nvimserver_and_build.sh Update docs 2020-12-30 15:34:58 +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
            ...