feat: add Arch update helper and web UI

This commit is contained in:
2026-05-03 22:48:01 +02:00
parent cbe105a719
commit 653ff6d298
12 changed files with 1349 additions and 0 deletions

28
Makefile Normal file
View File

@@ -0,0 +1,28 @@
BINARY := lazy-update-manager
PREFIX ?= $(HOME)/.local
.PHONY: build install install-user-service enable-user-service test fmt clean
build:
go build -buildvcs=false -o bin/$(BINARY) ./cmd/lazy-update-manager
install: build
install -Dm755 bin/$(BINARY) $(PREFIX)/bin/$(BINARY)
install -Dm644 systemd/lazy-update-manager.desktop $(PREFIX)/share/applications/lazy-update-manager.desktop
install-user-service: install
install -Dm644 systemd/lazy-update-manager.service $(HOME)/.config/systemd/user/lazy-update-manager.service
install -Dm644 systemd/lazy-update-manager.timer $(HOME)/.config/systemd/user/lazy-update-manager.timer
systemctl --user daemon-reload
enable-user-service: install-user-service
systemctl --user enable --now lazy-update-manager.timer
test:
go test ./...
fmt:
gofmt -w ./cmd ./internal
clean:
rm -rf bin