summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJim Lawson2015-11-03 15:57:25 -0800
committerPalmer Dabbelt2015-11-03 16:02:43 -0800
commit611b752e95b46af913b57ab61cc323e696cb9456 (patch)
tree927fba3f4cbf69c7d06b62e2123ebd5ba95561d6 /Makefile
parent3a2154674d64682328f1f6c59680c6b8af349515 (diff)
Add compile and checkstyle make targets.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2aa83bf2..5aba65ac 100644
--- a/Makefile
+++ b/Makefile
@@ -25,11 +25,11 @@ c_resources_dir := src/main/resources
test_outs := $(addprefix $(targetDir)/, $(addsuffix .out, $(test_results)))
-.PHONY: smoke publish-local check clean jenkins-build coverage scaladoc test
+.PHONY: smoke publish-local check clean jenkins-build coverage scaladoc test checkstyle compile
default: publish-local
-smoke:
+smoke compile:
$(SBT) $(SBT_FLAGS) compile
publish-local:
@@ -40,6 +40,9 @@ test:
check: test $(test_outs)
+checkstyle:
+ $(SBT) $(SBT_FLAGS) scalastyle test:scalastyle
+
coverage:
$(SBT) $(SBT_FLAGS) coverage test
$(SBT) $(SBT_FLAGS) coverageReport