fuzzyworld

find-stone-beer / commit

Add Makefile targets for build, test, and run.

af71e51ade207417a920e9123f0777e7fca122ca · Pavel Safronov · 2023-08-23 11:47:21 -0700 · parents 46619abf3bd9

Add Makefile targets for build, test, and run.
 Makefile | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Makefile b/Makefile
index 50ee7bf..24e612a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,10 @@
+all: build test run
+
+build:
+	go build .
+
+test:
+	go test -v .
+
 run:
 	go run .
\ No newline at end of file