mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-27 19:16:44 +00:00
Co-authored-by: Matthias Mair <code@mjmair.com>
This commit is contained in:
parent
8ff4eddeb9
commit
3fe04747d7
10
tasks.py
10
tasks.py
@ -1428,11 +1428,11 @@ def docs_server(c, address='localhost:8080', compile_schema=False):
|
||||
def clear_generated(c):
|
||||
"""Clear generated files from `inv 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 {} +')
|
||||
|
Loading…
x
Reference in New Issue
Block a user