summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicolas Paul <n@nc0.fr>2023-04-25 18:38:38 +0200
committerNicolas Paul <n@nc0.fr>2023-04-25 18:38:38 +0200
commit5b124812414fed3335ebb6ede394a656e9d1056a (patch)
treecad64e14808112b8f63386929fbf2c5497ebf48e /Makefile
parenta9fee8efcff4d279eb646c603ee20b6675e1921e (diff)
Add front matter parsing
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 206bf7c..107566a 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,10 @@ LDFLAGS := -ldflags "-w -s -X main.version=$(VERSION) -X main.date=$(DATE)"
$(BINARY): *.go
go build $(LDFLAGS) -o $(BINARY)
+test: *.go
+ go test -v ./...
+
clean:
rm -f $(BINARY)
-.PHONY: clean
+.PHONY: clean test