mirror of
https://github.com/hexedtech/codemp-sublime.git
synced 2024-11-23 23:34:48 +01:00
chore: remove sublime-asyncio dependency and old build file.
Former-commit-id: dd689650d2756ce4c4e97de0f8dd9a2d88063a37
This commit is contained in:
parent
d59a713f2e
commit
759fe03ac8
3 changed files with 0 additions and 31 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +0,0 @@
|
|||
[submodule "ext/sublime_asyncio"]
|
||||
path = ext/sublime_asyncio
|
||||
url = git@github.com:sublimelsp/sublime_asyncio.git
|
27
build.sh
27
build.sh
|
@ -1,27 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
ROOT_DIR="$(pwd)"
|
||||
BUILD_DIR="$ROOT_DIR/target/debug/"
|
||||
WHEEL_DIR="$ROOT_DIR/target/wheels"
|
||||
FILENAME="libcodemp"
|
||||
|
||||
TARGET_DIR="$ROOT_DIR/bindings"
|
||||
SO_NAME="codemp"
|
||||
WHEEL_NAME="Codemp_Sublime"
|
||||
|
||||
PYO3_PYTHON="$(pyenv which python)"
|
||||
TARGET_EXT="$($PYO3_PYTHON -c 'import sysconfig; print(sysconfig.get_config_var("EXT_SUFFIX"))')"
|
||||
SO_TARGET="${SO_NAME}${TARGET_EXT}"
|
||||
|
||||
echo "Building .SO with python: $PYO3_PYTHON"
|
||||
env PYO3_PYTHON="${PYO3_PYTHON}" cargo build
|
||||
echo "Copying into: $TARGET_DIR/$SO_TARGET"
|
||||
|
||||
echo "Building python wheels..."
|
||||
maturin build -i "$PYO3_PYTHON"
|
||||
|
||||
wheels=($WHEEL_DIR/$WHEEL_NAME*.whl)
|
||||
for whl in $wheels; do
|
||||
cp $whl $TARGET_DIR
|
||||
done
|
||||
ditto "$BUILD_DIR/${FILENAME}.dylib" "$TARGET_DIR/$SO_TARGET"
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 6a8eb2dbd36c72b34eb0078bc1b3cb96f1692acb
|
Loading…
Reference in a new issue