Skip to content

Commit

Permalink
feat: implement and use cli for unasync
Browse files Browse the repository at this point in the history
  • Loading branch information
leynier committed Oct 23, 2021
1 parent 96eb94b commit f70fdd2
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 17 deletions.
8 changes: 1 addition & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
build_sync:
if [ -d "build" ]; then rm -r "build"; fi
python build_sync.py build
if [ -d "gotrue/_sync" ]; then rm -r "gotrue/_sync"; fi
if [ -d "tests/_sync" ]; then rm -r "tests/_sync"; fi
cp -r "build/lib/gotrue/_sync" "gotrue/_sync"
cp -r "build/lib/tests/_sync" "tests/_sync"
rm -r "build"
poetry run unasync gotrue tests

install:
poetry install
Expand Down
7 changes: 0 additions & 7 deletions build_sync.py

This file was deleted.

39 changes: 38 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,12 @@ Sphinx = "^4.2.0"
flake8 = "^3.9.2"
black = "^21.9b0"
isort = "^5.9.3"
unasync = "^0.5.0"
setuptools = "^58.2.0"
pre-commit = "^2.15.0"
pytest-cov = "^3.0.0"
pytest-depends = "^1.0.1"
pytest-asyncio = "^0.16.0"
Faker = "^9.3.1"
unasync-cli = "^0.0.9"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down

0 comments on commit f70fdd2

Please sign in to comment.