Skip to content

Commit

Permalink
narrw scope of cleanup (#8441)
Browse files Browse the repository at this point in the history
  • Loading branch information
matmair authored Nov 7, 2024
1 parent c062d5e commit fade7e3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1443,14 +1443,14 @@ def docs_server(c, address='localhost:8080', compile_schema=False):
def clear_generated(c):
"""Clear generated files from `invoke update`."""
# pyc/pyo files
run(c, 'find . -name "*.pyc" -exec rm -f {} +')
run(c, 'find . -name "*.pyo" -exec rm -f {} +')
run(c, 'find src -name "*.pyc" -exec rm -f {} +')
run(c, 'find src -name "*.pyo" -exec rm -f {} +')
# cache folders
run(c, 'find . -name "__pycache__" -exec rm -rf {} +')
run(c, 'find src -name "__pycache__" -exec rm -rf {} +')

# Generated translations
run(c, 'find . -name "django.mo" -exec rm -f {} +')
run(c, 'find . -name "messages.mo" -exec rm -f {} +')
run(c, 'find src -name "django.mo" -exec rm -f {} +')
run(c, 'find src -name "messages.mo" -exec rm -f {} +')


# Collection sorting
Expand Down

0 comments on commit fade7e3

Please sign in to comment.