aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-26 18:50:39 -0600
committerCraig Jennings <c@cjennings.net>2026-01-26 18:50:39 -0600
commit8b564fd1b8be7be2ad8048b8259023c716f16542 (patch)
tree8b271f9fb1d38b1fea6a8b457eef6a8f0cac4de5 /Makefile
parentc464069ce00461827a3b8887b964956b1d0db782 (diff)
downloadarchangel-8b564fd1b8be7be2ad8048b8259023c716f16542.tar.gz
archangel-8b564fd1b8be7be2ad8048b8259023c716f16542.zip
fix: remove obsolete test for deleted zfs-snap-prune
- Remove test-zfs-snap-prune.sh (tested deleted script) - Update Makefile to reference existing custom/ scripts - Remove test-unit target (no unit tests remain)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 8 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index c8dc277..08eb282 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,8 @@
-# Makefile for archzfs ISO build and testing
+# Makefile for archangel ISO build and testing
#
# Usage:
-# make - Run all tests and build
-# make test - Run all tests (unit + integration)
-# make test-unit - Run unit tests only (fast)
+# make - Run lint and build
+# make test - Run lint
# make test-install - Run install tests in VM (slow)
# make build - Build the ISO
# make release - Full test + build + deploy
@@ -12,20 +11,15 @@
#
# Test configurations are in scripts/test-configs/
-.PHONY: all test test-unit test-install build release clean lint
+.PHONY: all test test-install build release clean lint
# Default target
-all: test build
-
-# Unit tests (fast, no VM needed)
-test-unit:
- @echo "==> Running unit tests..."
- ./scripts/test-zfs-snap-prune.sh
+all: lint build
# Lint all bash scripts
lint:
@echo "==> Running shellcheck..."
- @shellcheck -x build.sh scripts/*.sh custom/install-archzfs custom/grub-zfs-snap custom/zfs-snap-prune || true
+ @shellcheck -x build.sh scripts/*.sh custom/archangel custom/archsetup-zfs custom/zfsrollback custom/zfssnapshot custom/lib/*.sh || true
@echo "==> Shellcheck complete"
# Build the ISO (requires sudo)
@@ -38,8 +32,8 @@ test-install: build
@echo "==> Running install tests..."
./scripts/test-install.sh
-# All tests
-test: lint test-unit
+# All tests (lint only - VM tests via test-install)
+test: lint
# Full release: test everything, build, deploy
release: test test-install