-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
48 lines (34 loc) · 835 Bytes
/
justfile
File metadata and controls
48 lines (34 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
_default:
just --list -u
alias f := format
alias l := lint
alias lf := lint-fix
alias r := ready
alias t := test
build-migrations:
sh ./scripts/build-migrations.sh
lint:
bun run oxlint --type-aware --deny-warnings
(cd packages/pgconductor-js && bun run typecheck)
test:
(cd packages/pgconductor-js && bun run test)
test-unit:
(cd packages/pgconductor-js && bun run test:unit)
test-integration:
(cd packages/pgconductor-js && bun run test:integration)
lint-fix:
bun run oxlint --type-aware --fix --deny-warnings
format:
bun run oxfmt
ready:
just lint
just format
[working-directory: 'docs']
docs:
uv run zensical serve
clear-branches:
git branch --merged | egrep -v "(^\\*|main)" | xargs git branch -d
reset-git:
git checkout main
git pull
just clear-branches