From a3bb4068b5d1dbba2d4f4c0ded68186b7d84c4c7 Mon Sep 17 00:00:00 2001 From: Yangyang Li Date: Tue, 31 Oct 2023 23:38:15 -0500 Subject: [PATCH] chore: Clean autogenerated files and publish poetry package --- Makefile | 1 + noxfile.py | 1 + 2 files changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 6a16e109..29263350 100644 --- a/Makefile +++ b/Makefile @@ -66,6 +66,7 @@ clean: ## Clean autogenerated files # rm -f bin/* rm -rf dist rm -rf build + rm -rf fixed_wheels find . -type f -name "*.DS_Store" -ls -delete find . | grep -E "(__pycache__|\.pyc|\.pyo)" | xargs rm -rf find . | grep -E ".pytest_cache" | xargs rm -rf diff --git a/noxfile.py b/noxfile.py index 6f1de5be..81a59c31 100644 --- a/noxfile.py +++ b/noxfile.py @@ -123,6 +123,7 @@ def build_wheel(session: Session) -> None: session.run("mv", new_wheel_location.as_posix(), wheel_location.parent.as_posix(), external=True) session.run("rm", "-rf", "fixed_wheels", external=True) session.run("delocate-listdeps", wheel_location.as_posix()) + session.run("poetry", "publish", "--skip-existing", external=True) @session(name="pre-commit", python="3.10")