chore: add Taskfile

pull/231/head
Bingsu 2023-07-19 14:26:40 +09:00
parent f7f1208407
commit 358f57c20c
1 changed files with 25 additions and 0 deletions

25
Taskfile.yml Normal file
View File

@ -0,0 +1,25 @@
# https://taskfile.dev
version: "3"
dotenv:
- .env
vars:
SHELL: '{{if eq .OS "Windows_NT"}}powershell{{end}}'
tasks:
default:
cmds:
- echo "$PYTHON"
- echo "$WEBUI"
silent: true
launch:
dir: "{{.WEBUI}}"
cmds:
- "{{.PYTHON}} launch.py --xformers --api --autolaunch"
lint:
cmds:
- pre-commit run -a