feat(taskfile): rename 'develop' task to 'dev', add 'fix' task for linting and formatting issues
This commit is contained in:
11
Taskfile.yml
11
Taskfile.yml
@@ -70,8 +70,9 @@ tasks:
|
||||
cmds:
|
||||
- "{{.PYTHON}} -m poetry run meshchat"
|
||||
|
||||
develop:
|
||||
dev:
|
||||
desc: Run the application in development mode
|
||||
deps: [build-frontend]
|
||||
cmds:
|
||||
- task: run
|
||||
|
||||
@@ -149,6 +150,14 @@ tasks:
|
||||
cmds:
|
||||
- "{{.PYTHON}} scripts/sync_version.py"
|
||||
|
||||
fix:
|
||||
desc: Format and fix linting issues (Python and frontend)
|
||||
cmds:
|
||||
- "{{.PYTHON}} -m poetry run ruff format ./"
|
||||
- "{{.PYTHON}} -m poetry run ruff check --fix ./"
|
||||
- "{{.NPM}} run format"
|
||||
- "{{.NPM}} run lint:fix"
|
||||
|
||||
build-docker:
|
||||
desc: Build Docker image using buildx
|
||||
cmds:
|
||||
|
||||
Reference in New Issue
Block a user