Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Paste
P534
(An Untitled Masterwork)
Active
Public
Actions
Authored by
seirl
on Sep 27 2019, 7:10 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
diff --git a/Makefile b/Makefile
index 524175c..be63f09 100644
--- a/Makefile
+++ b/Makefile
@@ -3,3 +3,12 @@
include ../Makefile.python
-include Makefile.local
+
+JAVA_TARGET=java/server/target/swh-graph-0.0.2-jar-with-dependencies.jar
+
+$(JAVA_TARGET):
+ cd java/server/ && mvn compile assembly:single
+
+java_server: $(JAVA_TARGET)
+
+.PHONY: $(JAVA_TARGET)
diff --git a/tox.ini b/tox.ini
index a33e8ce..4c24cdc 100644
--- a/tox.ini
+++ b/tox.ini
@@ -6,6 +6,7 @@ deps =
.[testing]
pytest-cov
commands =
+ make java_server
pytest --cov=swh --cov-branch {posargs}
[testenv:flake8]
Event Timeline
seirl
created this paste.
Sep 27 2019, 7:10 PM
2019-09-27 19:10:07 (UTC+2)
Log In to Comment