From 3bbffa9325bcce69446ac68f48d65bc9efd9f39e Mon Sep 17 00:00:00 2001 From: Anna Rose Wiggins Date: Fri, 1 Aug 2025 14:05:58 -0400 Subject: [PATCH] Add test command to makefile. --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ea3da7a..6980ef2 100644 --- a/Makefile +++ b/Makefile @@ -2,9 +2,16 @@ DESTDIR=/ PREFIX=${HOME}/ BINDIR=bin/ -default: +.PHONY: default build test install uninstall clean + +default: build + +build: go build -o build/ ./... +test: + go test ./... + install: mkdir -p ${DESTDIR}/${PREFIX}/${BINDIR} cp build/evinfo ${DESTDIR}/${PREFIX}/${BINDIR}/