-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathjustfile
More file actions
39 lines (30 loc) · 952 Bytes
/
Copy pathjustfile
File metadata and controls
39 lines (30 loc) · 952 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
image := "ghcr.io/mrwaip/vpn-deck-builder"
tag := "latest"
# Show available recipes
default:
@just --list
# Install JS dependencies
install:
pnpm install
# Run unit tests (no binaries required)
test:
PYTHONPATH=py_modules python3 test_unit.py
PYTHONPATH=py_modules python3 test_simple.py
# Run smoke tests inside a Steam Deck OS container (holo-base)
test-smoke:
bash infra/test-smoke.sh
# Build the builder Docker image
build-image:
docker build -t {{ image }}:{{ tag }} -f infra/Dockerfile .
# Push the builder image to GHCR
push-image: build-image
docker push {{ image }}:{{ tag }}
# Extract AmneziaWG binaries from Docker image to ./binaries/
build-binaries:
bash infra/extract-binaries.sh
# Build plugin zip (copies binaries to bin/, packs via Decky CLI)
build-plugin:
bash infra/build-plugin.sh
# Release (bump version, build, publish GitHub release)
release bump="patch":
pnpm release:{{ bump }}