aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 11 insertions, 5 deletions
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)"