diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..6433bd9f --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +.PHONY: test tw/system/%.test tw/home/%.test + +systems = $(wildcard tw/system/*.scm) +homes = $(wildcard tw/home/*.scm) + +test: $(homes:.scm=.test) $(systems:.scm=.test) + +tw/home/%.test: tw/home/%.scm + guix home build -nL $(CURDIR) $< + +tw/system/%.test: tw/system/%.scm + guix system build -nL $(CURDIR) $< |