-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
67 lines (51 loc) · 2.9 KB
/
Copy pathMakefile
File metadata and controls
67 lines (51 loc) · 2.9 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
SHELL := /bin/bash
.DEFAULT_GOAL := help
.PHONY: help version check check-platforms check-arch check-arch-package check-desktop-gate check-units check-display verify social-preview check-social-preview install install-with-proton-cli uninstall
help: ## Show this action-free command overview.
@printf '%s\n' \
'PDrive developer commands' \
'' \
' make check Run the portable repository test suite.' \
' make check-platforms Validate distribution detection and package maps.' \
' make check-arch Run the Arch Linux smoke test with rootless Podman.' \
' make check-arch-package Build and inspect the native Arch package.' \
' make check-desktop-gate Print the read-only real-desktop preflight report.' \
' make check-units Validate systemd user units only.' \
' make check-display Run GTK tests on the current display.' \
' make verify Run diff hygiene and the portable suite.' \
' make social-preview Render every configured social-preview variant.' \
' make check-social-preview Verify committed previews match their sources.' \
' make version Print the project version.' \
' make install Install or update user-local files.' \
' make install-with-proton-cli Also enable the optional Proton CLI updater.' \
' make uninstall Start the guarded interactive uninstaller.'
version: ## Print the canonical project version.
@cat VERSION
check: ## Run the portable repository test suite.
./tests/check.sh
check-platforms: ## Validate distribution detection and package maps.
./tests/test-platforms.sh
check-arch: ## Run the Arch Linux compatibility smoke test with rootless Podman.
./tests/run-distro-smoke.sh arch
check-arch-package: ## Build and inspect the native Arch package with rootless Podman.
./tests/run-arch-package.sh
check-desktop-gate: ## Print the read-only real-desktop preflight report.
./bin/pdrive-desktop-gate --markdown
check-units: ## Validate systemd user units and project invariants.
./tests/test-systemd.sh
check-display: ## Run GTK tests against the current desktop display.
NO_AT_BRIDGE=1 ./tests/test-setup-wizard-ui.sh --use-display
NO_AT_BRIDGE=1 ./tests/test-ui-widgets.sh --use-display
verify: ## Check diff hygiene and run the portable repository suite.
git diff --check
$(MAKE) check
social-preview: ## Render every configured social-preview variant.
python3 .github/social-preview-src/render-all.py
check-social-preview: ## Verify committed previews match their sources.
python3 .github/social-preview-src/render-all.py --check
install: ## Install or update user-local project files.
./install.sh
install-with-proton-cli: ## Install and enable the optional Proton CLI updater.
./install.sh --with-proton-cli-updater
uninstall: ## Run the queue-guarded interactive uninstaller.
./uninstall.sh --uninstall