detached 14895b0

chore(build): remove duplicate Makefile.sh

commit
14895b00dc3a5849771b4a4d1d2bb8078f9aed17
author
brice · · 2026-03-02 06:29 UTC
parent
6ec8608
signature
GPG VerifiedCD88F9E564E0102646FB6077A1A07C7C7C3E349D · arch-gpg Verified for the committer email
1 file · +0 -56
D Makefile.sh +0 -56
@@ -1,56 +0,0 @@
1-.PHONY: check check-syntax check-shellcheck clean help
2-
3-# Default target
4-help:
5- @echo "archup - Makefile targets:"
6- @echo ""
7- @echo " make check - Run all checks (syntax + shellcheck)"
8- @echo " make check-syntax - Check shell script syntax with bash -n"
9- @echo " make check-shellcheck - Run shellcheck linting"
10- @echo " make clean - Remove generated files"
11- @echo ""
12-
13-# Run all checks
14-check: check-syntax check-shellcheck
15- @echo ""
16- @echo "✓ All checks passed!"
17-
18-# Check syntax with bash -n
19-check-syntax:
20- @echo "========================================="
21- @echo "Checking shell script syntax..."
22- @echo "========================================="
23- @for script in install.sh install/bootstrap.sh install/helpers/*.sh install/preflight/*.sh install/partitioning/*.sh install/base/*.sh install/config/*.sh install/boot/*.sh install/repos/*.sh install/post-install/*.sh install/post-boot/*.sh; do \
24- if [ -f "$$script" ]; then \
25- echo "Checking: $$script"; \
26- bash -n "$$script" || exit 1; \
27- fi \
28- done
29- @echo "✓ Syntax check passed"
30-
31-# Run shellcheck
32-check-shellcheck:
33- @echo ""
34- @echo "========================================="
35- @echo "Running shellcheck..."
36- @echo "========================================="
37- @if ! command -v shellcheck >/dev/null 2>&1; then \
38- echo "⚠ shellcheck not found, skipping..."; \
39- echo "Install with: sudo pacman -S shellcheck"; \
40- exit 0; \
41- fi
42- @for script in install.sh install/bootstrap.sh install/helpers/*.sh install/preflight/*.sh install/partitioning/*.sh install/base/*.sh install/config/*.sh install/boot/*.sh install/repos/*.sh install/post-install/*.sh install/post-boot/*.sh; do \
43- if [ -f "$$script" ]; then \
44- echo ""; \
45- echo "Checking: $$script"; \
46- shellcheck --exclude=SC1090,SC1091,SC2086,SC2004,SC2059,SC2129,SC2155 "$$script" || exit 1; \
47- fi \
48- done
49- @echo ""
50- @echo "✓ shellcheck passed"
51-
52-# Clean generated files
53-clean:
54- @echo "Cleaning generated files..."
55- @rm -f /var/log/archup-install.log
56- @echo "✓ Clean complete"
@@ -1,56 +0,0 @@
1-.PHONY: check check-syntax check-shellcheck clean help
2-
3-# Default target
4-help:
5- @echo "archup - Makefile targets:"
6- @echo ""
7- @echo " make check - Run all checks (syntax + shellcheck)"
8- @echo " make check-syntax - Check shell script syntax with bash -n"
9- @echo " make check-shellcheck - Run shellcheck linting"
10- @echo " make clean - Remove generated files"
11- @echo ""
12-
13-# Run all checks
14-check: check-syntax check-shellcheck
15- @echo ""
16- @echo "✓ All checks passed!"
17-
18-# Check syntax with bash -n
19-check-syntax:
20- @echo "========================================="
21- @echo "Checking shell script syntax..."
22- @echo "========================================="
23- @for script in install.sh install/bootstrap.sh install/helpers/*.sh install/preflight/*.sh install/partitioning/*.sh install/base/*.sh install/config/*.sh install/boot/*.sh install/repos/*.sh install/post-install/*.sh install/post-boot/*.sh; do \
24- if [ -f "$$script" ]; then \
25- echo "Checking: $$script"; \
26- bash -n "$$script" || exit 1; \
27- fi \
28- done
29- @echo "✓ Syntax check passed"
30-
31-# Run shellcheck
32-check-shellcheck:
33- @echo ""
34- @echo "========================================="
35- @echo "Running shellcheck..."
36- @echo "========================================="
37- @if ! command -v shellcheck >/dev/null 2>&1; then \
38- echo "⚠ shellcheck not found, skipping..."; \
39- echo "Install with: sudo pacman -S shellcheck"; \
40- exit 0; \
41- fi
42- @for script in install.sh install/bootstrap.sh install/helpers/*.sh install/preflight/*.sh install/partitioning/*.sh install/base/*.sh install/config/*.sh install/boot/*.sh install/repos/*.sh install/post-install/*.sh install/post-boot/*.sh; do \
43- if [ -f "$$script" ]; then \
44- echo ""; \
45- echo "Checking: $$script"; \
46- shellcheck --exclude=SC1090,SC1091,SC2086,SC2004,SC2059,SC2129,SC2155 "$$script" || exit 1; \
47- fi \
48- done
49- @echo ""
50- @echo "✓ shellcheck passed"
51-
52-# Clean generated files
53-clean:
54- @echo "Cleaning generated files..."
55- @rm -f /var/log/archup-install.log
56- @echo "✓ Clean complete"

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 0

    ↑↓ moveenter openesc close