Files
ziadarafatandClaude Opus 5.5 98fc27f4cf feat(appimage): self-contained AppImage built in a Debian 13 container
Bundles Qt 6.8, LayerShellQt v6.4.5 and the Wayland EGL client plugins
(rpath-patched; linuxdeploy-plugin-qt skips them). CI builds it on every
push and attaches it, with a .zsync for delta updates, to v* releases.
Drop LayerShell.Window.activateOnShow, which LayerShellQt < 6.5 lacks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013UzjWSBjtVZ2zi8fJxS2hH
2026-10-30 17:35:13 -06:00

54 lines
1.7 KiB
TOML

[tools]
go = "1.27.3"
[env]
CGO_ENABLED = "0"
[tasks.test]
description = "Run all tests"
depends = ["test:go", "test:qml"]
[tasks."test:go"]
description = "Run Go tests"
run = "go test ./..."
[tasks."test:qml"]
description = "Run QML tests offscreen"
run = "QT_QPA_PLATFORM=offscreen QT_FORCE_STDERR_LOGGING=1 /usr/lib/qt6/bin/qmltestrunner -input ui/tests"
[tasks.check]
description = "Vet and format check"
run = ["go vet ./...", "test -z \"$(gofmt -l .)\"", "/usr/lib/qt6/bin/qmllint ui/components/*.qml ui/main.qml"]
[tasks.build]
description = "Build the daemon"
run = "go build -o bin/deckhudd ./cmd/deckhudd"
[tasks.install]
description = "Install deckhudd, the overlay and the systemd user unit under $HOME (does not enable it)"
depends = ["build"]
run = [
"install -Dm755 bin/deckhudd ~/.local/bin/deckhudd",
"rm -rf ~/.local/share/deckhud/ui && mkdir -p ~/.local/share/deckhud && cp -r ui ~/.local/share/deckhud/ui && rm -rf ~/.local/share/deckhud/ui/tests",
"install -Dm644 packaging/systemd/deckhud.service ~/.config/systemd/user/deckhud.service",
"systemctl --user daemon-reload",
"echo 'installed; enable with: systemctl --user enable --now deckhud'",
]
[tasks.uninstall]
description = "Stop and remove deckhud from $HOME"
run = [
"systemctl --user disable --now deckhud || true",
"rm -f ~/.local/bin/deckhudd ~/.config/systemd/user/deckhud.service",
"rm -rf ~/.local/share/deckhud",
"systemctl --user daemon-reload",
]
[tasks.appimage]
description = "Build the AppImage in a podman container (needs podman)"
depends = ["build"]
run = [
"podman build -t deckhud-appimage packaging/appimage",
"podman run --rm -e VERSION=$(git describe --tags --always) -v $PWD:/src/deckhud:Z deckhud-appimage /src/deckhud/packaging/appimage/build.sh",
]