diff --git a/Input.txt b/Input.txt new file mode 100644 index 0000000..03be22b --- /dev/null +++ b/Input.txt @@ -0,0 +1,2 @@ +https://git.voronind.com +https://music.yandex.ru diff --git a/Makefile b/Makefile index a1dc5e0..93a970d 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,15 @@ # HACK: sbt seems to ignore JAVA_HOME by default, force it to use the correct jdk. sbt = sbt $(sbt_args) sbt_args = -java-home $(JAVA_HOME) +address = localhost +port = 8000 +input = Input.txt run: $(sbt) run clean: $(sbt) clean + +test: + curl $(address):$(port) --upload-file $(input)