-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
81 lines (54 loc) · 1.68 KB
/
Copy pathjustfile
File metadata and controls
81 lines (54 loc) · 1.68 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
set dotenv-load := true
set windows-shell := ["pwsh.exe", "-NoLogo", "-ExecutionPolicy", "RemoteSigned", "-Command"]
setup:
mise install
pnpm install
cargo check --workspace --all-features
build-dashboard:
cd apps/dashboard-web && pnpm build
build-extension:
cd apps/extension-web && pnpm build
build-extension-chrome:
cd apps/extension-web && pnpm build:chrome
build-extension-firefox:
cd apps/extension-web && pnpm build:firefox
build-extension-safari:
cd apps/extension-web && pnpm build:safari
smoke-extension-chrome:
cd apps/extension-web && pnpm smoke:chrome
build-api:
cargo build --manifest-path apps/api-server/Cargo.toml
build: build-api build-dashboard build-extension
dev-api:
watchexec --watch apps/api-server --watch packages --watch dev --exts rs,toml -- cargo run --manifest-path apps/api-server/Cargo.toml -- --config dev/amagi.config.local.toml
dev-dashboard:
cd apps/dashboard-web && pnpm dev
dev-extension-chrome:
cd apps/extension-web && pnpm dev:chrome
dev-extension-firefox:
cd apps/extension-web && pnpm dev:firefox
dev-extension-safari:
cd apps/extension-web && pnpm dev:safari
dev-deps:
docker compose -f devdeps.compose.yaml up
dev-deps-clean:
docker compose -f devdeps.compose.yaml down -v
dev:
zellij --layout zellij-dev.kdl
lint-rs:
cargo clippy --workspace --all-features --all-targets
lint-ts:
pnpm lint
lint: lint-rs lint-ts
fix-rs:
cargo clippy --workspace --all-features --all-targets --fix --allow-dirty
fix-ts:
pnpm lint-fix
fix: fix-rs fix-ts
test-ts:
pnpm test
test-rs:
cargo test --workspace --all-features
test: test-rs test-ts
typecheck:
pnpm typecheck