From 2df8b9bf6448d3a64aaeacf455d0820ce9c8c333 Mon Sep 17 00:00:00 2001 From: JP Appel Date: Sat, 28 Sep 2024 03:26:58 -0400 Subject: Update makefile and readme --- Makefile | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4a0b608..c17c688 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,21 @@ -.PHONY: all -all: +FILES:= $(wildcard */*.go) $(wildcard *.go) + +.PHONY: all tidy clean test info + +all: build + +build: $(FILES) go build -.PHONY: tidy tidy: go mod tidy -.PHONY: clean clean: tidy rm ./bingo-factory -.PHONY: test test: go test ./... + +.PHONY: info +info: + @echo "FILES: $(FILES)" -- cgit v1.2.3