aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorFumitoshi Ukai <fumitoshi.ukai@gmail.com>2015-03-31 17:27:03 +0900
committerFumitoshi Ukai <fumitoshi.ukai@gmail.com>2015-03-31 17:27:03 +0900
commite520f26efc4cde29f8d2526a31376f049569f284 (patch)
tree55bdf2a842058f0829ad46813387d86ca2d7d691 /Makefile
parent0293c7ac664ab0518683cbbc90dd4fce7e3b1f49 (diff)
downloadplatform_build_kati-e520f26efc4cde29f8d2526a31376f049569f284.tar.gz
platform_build_kati-e520f26efc4cde29f8d2526a31376f049569f284.tar.bz2
platform_build_kati-e520f26efc4cde29f8d2526a31376f049569f284.zip
fix subst.mk
add wildcard_with_commas.mk add go_test make targets for run go unittest.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 17f66bc..39ddcaa 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,13 @@
GOSRC = $(wildcard *.go)
-all: kati
+all: kati go_test
kati: $(GOSRC)
env $(shell go env) go build -o $@ .
+go_test: $(GOSRC)
+ env $(shell go env) go test .
+
test: all
ruby runtest.rb