-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
30 lines (22 loc) · 720 Bytes
/
justfile
File metadata and controls
30 lines (22 loc) · 720 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
build-web:
trunk build --config ./crates/web/trunk.toml index.html
serve-web:
trunk serve --config ./crates/web/trunk.toml -p 1111 index.html
backend:
cargo r --bin trace-backend -- -p 2222
# Prefetch flake inputs to avoid duplicate fetching
flake-prefetch:
nix flake prefetch
nix flake prefetch-inputs
build-cargo-artifacts:
nix build .#cargoArtifacts
# Build docker images in parallel
[parallel]
docker-build: docker-build-cli docker-build-backend
docker-build-cli: flake-prefetch
.github/workflows/build-docker-cli.nu
docker-build-backend: flake-prefetch
.github/workflows/build-docker-backend.nu
# Publish docker images
docker-publish:
.github/workflows/publish-docker.nu