Skip to content

Commit

Permalink
fix: make the dependency only available for st4+py38 (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl authored Oct 25, 2024
1 parent f4a5ccb commit 3f8313e
Show file tree
Hide file tree
Showing 25 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/on-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
rm -rf "./.git"
echo "Overwriting installed dependency in $ST_LIBS_DIR/$PACKAGE"
rm -rf "$ST_LIBS_DIR/$PACKAGE"
mv "./st3/$PACKAGE" "$ST_LIBS_DIR"
mv "./st4_py38/$PACKAGE" "$ST_LIBS_DIR"
cd -
- uses: SublimeText/UnitTesting/actions/run-tests@v1

Expand All @@ -76,6 +76,6 @@ jobs:
- run: git clone https://github.com/SublimeText/sublime_lib.git
- run: |
cd lsp_utils
mypy st3/lsp_utils
flake8 st3/lsp_utils tests
pyright st3/lsp_utils
mypy st4_py38/lsp_utils
flake8 st4_py38/lsp_utils tests
pyright st4_py38/lsp_utils
2 changes: 1 addition & 1 deletion scripts/update-semantic-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GITHUB_REPO_URL="https://github.com/rbarrois/python-semanticversion"

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
OUTPUT_DIR="${SCRIPT_DIR}/../st3/lsp_utils/third_party"
OUTPUT_DIR="${SCRIPT_DIR}/../st4_py38/lsp_utils/third_party"
PACKAGE_NAME="semantic_version"

# -------- #
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ deps =
flake8==5.0.4
pyright==1.1.339
commands =
mypy st3/lsp_utils
flake8 st3/lsp_utils tests
pyright st3/lsp_utils
mypy st4_py38/lsp_utils
flake8 st4_py38/lsp_utils tests
pyright st4_py38/lsp_utils

0 comments on commit 3f8313e

Please sign in to comment.