Marc Cataford
fbba07cbdc
* build(backend): requirements-locks to use venv directly to avoid needing to activate * build(backend): taskfile cleaning, no more sourcing * build(frontend): remove unneeded syntax, cmds>cmd for one-liners * docs: instructors on local setup * ci: hoisted default working directory settings
37 lines
744 B
YAML
37 lines
744 B
YAML
version: '3'
|
|
|
|
tasks:
|
|
bootstrap:
|
|
internal: true
|
|
cmd: . script/bootstrap
|
|
dir: frontend
|
|
start:
|
|
desc: "Starts the frontend application."
|
|
deps: [bootstrap]
|
|
cmd: yarn start
|
|
dir: frontend
|
|
build:
|
|
desc: "Build the app."
|
|
deps: [bootstrap]
|
|
cmd: yarn build
|
|
dir: frontend
|
|
test:
|
|
desc: "Runs the frontend test suite."
|
|
deps: [bootstrap]
|
|
cmd: yarn test
|
|
dir: frontend
|
|
lint:
|
|
desc: "Checks lint and formatting."
|
|
deps: [bootstrap]
|
|
cmd: yarn lint
|
|
dir: frontend
|
|
lintfix:
|
|
desc: "Fixes lint and formatting."
|
|
deps: [bootstrap]
|
|
cmd: yarn lint:fix
|
|
dir: frontend
|
|
typecheck:
|
|
desc: "Validates types."
|
|
deps: [bootstrap]
|
|
cmd: yarn typecheck
|
|
dir: frontend
|