Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testing/: add Makefile to install Void deps #678

Merged
merged 1 commit into from
Sep 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)