aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 86e260d5..c304f265 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,8 @@ regress_dir ?= $(root_dir)/regress
install_dir ?= $(root_dir)/utils/bin
SBT ?= sbt
+SBT_FLAGS ?= -Dsbt.log.noformat=true
+
scala_jar ?= $(install_dir)/firrtl.jar
scala_src := $(shell find src -type f \( -name "*.scala" -o -path "*/resources/*" \))
@@ -25,4 +27,9 @@ $(scala_jar): $(scala_src)
test-scala:
$(SBT) test
+jenkins-build: clean
+ $(SBT) $(SBT_FLAGS) +clean +test +publish-local
+ $(SBT) $(SBT_FLAGS) scalastyle coverage test
+ $(SBT) $(SBT_FLAGS) coverageReport
+
.PHONY: build clean regress build-scala test-scala