mirror of
https://github.com/inventree/inventree-app.git
synced 2025-07-23 13:46:29 +00:00
Add format task
This commit is contained in:
5
tasks.py
5
tasks.py
@@ -37,3 +37,8 @@ def ios(c):
|
||||
def android(c):
|
||||
"""Build Android app in release configuration."""
|
||||
c.run("flutter build appbundle --release --no-tree-shake-icons")
|
||||
|
||||
@task
|
||||
def format(c):
|
||||
"""Format Dart code."""
|
||||
c.run("dart format --output=none")
|
||||
|
Reference in New Issue
Block a user