Skip to content

Commit

Permalink
testing: add Makefile to install Void deps
Browse files Browse the repository at this point in the history
  • Loading branch information
zdykstra committed Sep 25, 2024
1 parent 9f5e426 commit 05f3b0c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions testing/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.DEFAULT_GOAL := help

SUDO ?= sudo
INSTALLOPTS ?= -Su

VOID_PKGS = perl-boolean perl-Sort-Versions lsof yq-go qemu-firmware qemu-img qemu-system-amd64

.PHONY: help setup-void clean-void

help:
@echo "Use \033[94mmake setup-void\033[m to install dependencies on Void Linux."
@echo "Use \033[94mmake clean-void\033[m to remove dependencies on Void Linux."

setup-void:
@$(SUDO) xbps-install $(INSTALLOPTS) $(VOID_PKGS)

clean-void:
@$(SUDO) xbps-remove -R $(VOID_PKGS)

0 comments on commit 05f3b0c

Please sign in to comment.