1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-25 23:02:35 +03:00

Move files around

This commit is contained in:
Tae Won Ha 2020-08-26 08:35:20 +02:00
parent c01bc0be87
commit 87688e6ed3
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44
62 changed files with 40 additions and 54 deletions

View File

@ -1 +1,3 @@
vimr-deps*
/libag
/libxz
/libpcre

22
third-party/README.md vendored
View File

@ -1,6 +1,6 @@
## How to use
* `cd` into `/third-party`, this directory.
* `cd` into `${PROJECT_ROOT}/third-party`, this directory.
* Install pyenv and pyenv-virtuelenv.
* Install Python 3.8.x using pyenv.
* Create a virtualenv with the name `com.qvacua.VimR.third-party`.
@ -9,6 +9,10 @@
$ pyenv which python
/${HOME}/.pyenv/versions/com.qvacua.VimR.third-party/bin/python
```
* Install the requirements
```
$ pip install -r requirements.txt
```
* Do the following
```
$ python setup.py develop
@ -22,12 +26,18 @@
## Built artifacts
The resulting artifacts are structured as follows
```
third-party
lib
liba.a
libb.a
...
vimr-deps
lib
liba.a
libb.a
...
include
a.h
b.h
...
liba
include
a.h
@ -44,4 +54,4 @@ third-party
* Add the virtualenv `com.qvacua.VimR.third-party` as Python SDK.
* Set the project SDK to the virtualenv.
* Set the content root to Sources
* Optional: Set all install paths, i.e. `lib*/` to Excluded.
* Optional: Set all install paths, i.e. `vimr-deps` and `lib*/`, to Excluded.

16
third-party/build.py vendored
View File

@ -2,12 +2,10 @@ import argparse
import pathlib
import shutil
import package
from builder import Builder
from config import Config
from deps import ag, pcre, xz
from deps.ag import AgBuilder
from utils.shell import shell
DEPS_FILE_NAME = ".deps"
PACKAGE_NAME = "vimr-deps"
@ -43,14 +41,6 @@ def parse_args() -> argparse.Namespace:
required=False,
)
parser.add_argument(
"--local-dev",
action="store",
dest="local_dev",
type=bool,
required=False
)
return parser.parse_args()
@ -122,9 +112,3 @@ if __name__ == "__main__":
builders["xz"].build()
builders["pcre"].build()
builders["ag"].build()
shell(package.package_command.substitute(dict(
parent_of_install_path=install_path.parent,
install_path=install_path,
package_name=PACKAGE_NAME,
)), cwd=cwd)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6948a57f3d5c728918d928017886b88ac4ae0a869e7c8dd1dadd881fb3f687f4
size 277680

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e893e14d91cbc5ec317be735ea78b7566ee118f82695400255a972527b84a1f
size 1033720

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ad37d6976b46377917b64d95e2d96f99c7b28336743ff844439af0f390212179
size 4353080

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2a790a333bbcee7779cfb1d9511f9bdbb9726c1c9251276b3667a0e9c82c0eb3
size 4142840

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:02a4919497a87d8ad028bc5862ecba16d4f1bb9e94f1660140eb9f14a145a0e9
size 4090184

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fcd583a43b3bc53fe120e40dfb392840269fa17539ff66b54a69842554725a3a
size 47368

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ed3a0adbcaf476696f7ff79f8590b8cdfe8821522480b393ab7250c1f8ad2ced
size 12936

View File

@ -1,10 +0,0 @@
from string import Template
# language=bash
package_command = Template(
"""
pushd "${parent_of_install_path}" >/dev/null
tar cjvf "${package_name}.tar.bz2" "${package_name}"
popd >/dev/null
"""
)

3
third-party/vimr-deps/lib/libag.a vendored Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:592ebe4ffcd7286e9e0ac892cd5094a4495bb1126032788fe4b7988fb6a2d9ca
size 277680

3
third-party/vimr-deps/lib/liblzma.a vendored Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:027340b8dc77949eed85e02a465eda2cfc4509be48cb96467d9579903bdb2e69
size 1033720

3
third-party/vimr-deps/lib/libpcre.a vendored Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4b1144e703d37a8eeb13d70477042589f79b9d413789f87bc074ff11639c900a
size 4353080

3
third-party/vimr-deps/lib/libpcre16.a vendored Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5101bd43fe752ba0faf32c2f91271b147e2f09610a3cbad7f9a3eb8e277b6bde
size 4142840

3
third-party/vimr-deps/lib/libpcre32.a vendored Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:795b01773a1cbb6398e4ebc825743e44145ba232889b0ead0698792a91108551
size 4090184

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e0e093a845ed2651c44971c0275e404a40f3e81f661095c481fb5ad23a5f14ba
size 47368

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:52aafc46fd392f51c9cdd6c750b35be12e744661151a4fd9e83e58aa6c6baaab
size 12936