detached 392658c

feat(build): add Makefile build target

Added 'make build' target that runs goreleaser to build the
archup-installer binary for quick development builds.
commit
392658c0558c5adf248afb021586ecfde04c48c2
author
bnema · · 2025-10-31 06:15 UTC
parent
9e30cff
signature
GPG Unverified2B82207D370127A0 The key is unknown
1 file · +8 -1
M Makefile +8 -1
@@ -1,15 +1,22 @@
1-.PHONY: check check-syntax check-shellcheck clean help
1+.PHONY: check check-syntax check-shellcheck clean help build
22
33 # Default target
44 help:
55 @echo "archup - Makefile targets:"
66 @echo ""
7+ @echo " make build - Build archup-installer binary"
78 @echo " make check - Run all checks (syntax + shellcheck)"
89 @echo " make check-syntax - Check shell script syntax with bash -n"
910 @echo " make check-shellcheck - Run shellcheck linting"
1011 @echo " make clean - Remove generated files"
1112 @echo ""
1213
14+# Build archup-installer binary
15+build:
16+ @echo "Building archup-installer..."
17+ goreleaser build --snapshot --clean --single-target
18+ @echo "✓ Build complete: ./dist/archup-installer_linux_amd64_v1/archup-installer"
19+
1320 # Run all checks
1421 check: check-syntax check-shellcheck
1522 @echo ""
@@ -1,15 +1,22 @@
1-.PHONY: check check-syntax check-shellcheck clean help1+.PHONY: check check-syntax check-shellcheck clean help build
2 2
3 # Default target3 # Default target
4 help:4 help:
5 @echo "archup - Makefile targets:"5 @echo "archup - Makefile targets:"
6 @echo ""6 @echo ""
7+ @echo " make build - Build archup-installer binary"
7 @echo " make check - Run all checks (syntax + shellcheck)"8 @echo " make check - Run all checks (syntax + shellcheck)"
8 @echo " make check-syntax - Check shell script syntax with bash -n"9 @echo " make check-syntax - Check shell script syntax with bash -n"
9 @echo " make check-shellcheck - Run shellcheck linting"10 @echo " make check-shellcheck - Run shellcheck linting"
10 @echo " make clean - Remove generated files"11 @echo " make clean - Remove generated files"
11 @echo ""12 @echo ""
12 13
14+# Build archup-installer binary
15+build:
16+ @echo "Building archup-installer..."
17+ goreleaser build --snapshot --clean --single-target
18+ @echo "✓ Build complete: ./dist/archup-installer_linux_amd64_v1/archup-installer"
19+
13 # Run all checks20 # Run all checks
14 check: check-syntax check-shellcheck21 check: check-syntax check-shellcheck
15 @echo ""22 @echo ""

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