aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-22 12:11:24 -0300
committerEuAndreh <eu@euandre.org>2023-03-22 15:51:52 -0300
commitb3ccc398cfd30ad9e243a041933204ea2e567535 (patch)
tree84ec606d88ace7e9d782d8e954b32d5d73bd6369 /Makefile
parentsrc/bin/paku: Get Base64 from paku.lock instead of calculating it (diff)
downloadpackage-repository-b3ccc398cfd30ad9e243a041933204ea2e567535.tar.gz
package-repository-b3ccc398cfd30ad9e243a041933204ea2e567535.tar.xz
Support Homebrew
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 16 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index e0d7de2..2fc55b0 100644
--- a/Makefile
+++ b/Makefile
@@ -12,10 +12,10 @@
-all: EuAndreh.key guix nix debian
+all: EuAndreh.key guix nix debian homebrew
-paku.lock: src/bin/paku
+paku.lock: src/bin/paku Makefile
touch $@
@@ -78,6 +78,13 @@ debian.mk: paku.lock
debian: debian.mk
$(MAKE) -f debian.mk
+homebrew: Formula
+
+Formula: paku.lock
+ mkdir -p $@
+ perl src/bin/paku homebrew $@
+ touch $@
+
public/debian: debian
mkdir -p $(@D)
@@ -94,10 +101,14 @@ upload: public
rsync -avzP --delete public/ euandre.org:/srv/www/s/package-repository/
HTTP-REMOTE = 'https://euandre.org/s/package-repository'
-check-ubuntu:
- sh tests/vm-check.sh -x -t deb -H ubuntu-x86_64-headless -r $(HTTP-REMOTE)
+GIT-REMOTE = 'git://euandre.org/package-repository'
+check-ubuntu-deb:
+ sh tests/vm-check.sh -x -H ubuntu-x86_64-headless -r $(HTTP-REMOTE) -t deb
+
+check-ubuntu-homebrew:
+ sh tests/vm-check.sh -x -H ubuntu-x86_64-headless -r $(GIT-REMOTE) -t homebrew
-check: check-ubuntu
+check: all check-ubuntu-deb check-ubuntu-homebrew
clean: