aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-03-23 01:04:04 +0100
committerDimitri Sokolyuk <demon@dim13.org>2015-03-23 01:04:04 +0100
commit9673a0066bc18e7a03e0bb71c30128995d51e099 (patch)
tree644b0fc3a6fbb1ad16789b1e9ef19527b17d58bb /Makefile
parentcff4bb40fe682c6c1b1462df9f2dc35da1d6c985 (diff)
Fix typo, add test target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2d563ed..ed2fbc1 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,9 @@ clean:
install: build
$(GO) $@
+test: generate
+ $(GO) $@
+
%.go: %.y
$(GO) tool yacc -o $@ $<