Skip to content

Commit

Permalink
chore: Clean autogenerated files and publish poetry package
Browse files Browse the repository at this point in the history
  • Loading branch information
cauliyang committed Nov 1, 2023
1 parent bc2092f commit a3bb406
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit a3bb406

Please sign in to comment.