This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
rotini/Taskfile.yml
Marc Cataford 002b6cdc68
feat(frontend): files API stub instead of hardcoded mocks (#3)
* build(frontend): node version management

* feat: use files API via network instead of hardcoded mock

* fix: mock in tests
2023-08-09 00:52:26 -04:00

57 lines
1.4 KiB
YAML

version: '3'
tasks:
be.bootstrap:
internal: true
cmds:
- . script/bootstrap
dir: backend
be.lint:
desc: "Lints /backend using black + pylint."
deps: [be.bootstrap]
cmds:
- black . --check
- pylint
dir: backend
be.lintfix:
desc: "Lints and fixes /backend using black + pylint."
deps: [be.bootstrap]
cmds:
- black .
- pylint rotini
dir: backend
be.start:
desc: "Starts the backend application."
deps: [be.bootstrap]
cmds:
- source ../.venv/bin/activate && source ../.env && python -m uvicorn main:app
dir: backend/rotini
be.migrate:
desc: "Applies migrations. Usage: be.migrate -- <up|down>"
deps: [be.bootstrap]
cmds:
- source ../../.venv/bin/activate && source ../../.env && python migrate.py {{.CLI_ARGS}}
dir: backend/rotini/migrations
be.lock-deps:
desc: "Locks production and development dependencies"
deps: [be.bootstrap]
cmds:
- source .venv/bin/activate && . script/requirements-lock
dir: backend
fe.bootstrap:
internal: true
cmds:
- . script/bootstrap
dir: frontend
fe.start:
desc: "Starts the frontend application."
deps: [fe.bootstrap]
cmds:
- yarn start
dir: frontend
fe.test:
desc: "Runs the frontend test suite."
deps: [fe.bootstrap]
cmds:
- yarn test
dir: frontend