2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 10:05:39 +00:00

Add js linting to github workflow

This commit is contained in:
Oliver Walters
2021-08-28 20:59:41 +10:00
parent f57a31c9b5
commit d0ccf8647d
3 changed files with 30 additions and 6 deletions

View File

@ -457,3 +457,12 @@ def server(c, address="127.0.0.1:8000"):
"""
manage(c, "runserver {address}".format(address=address), pty=True)
@task
def render_js_files(c):
"""
Render templated javascript files (used for static testing).
"""
manage(c, "test InvenTree.ci_render_js")