From a5d336f805f6b6fd2ee81b4e00b1815e29c8c2e6 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Mon, 23 Sep 2024 16:39:43 +0300 Subject: [PATCH] Makefile : Silence stderr for test target & add malformed input. --- Input.txt | 1 + Makefile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Input.txt b/Input.txt index 03be22b..b4de663 100644 --- a/Input.txt +++ b/Input.txt @@ -1,2 +1,3 @@ https://git.voronind.com https://music.yandex.ru +afasddf diff --git a/Makefile b/Makefile index 93a970d..0ac8424 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ sbt = sbt $(sbt_args) sbt_args = -java-home $(JAVA_HOME) address = localhost port = 8000 +path = "/crawl_title" input = Input.txt run: @@ -12,4 +13,4 @@ clean: $(sbt) clean test: - curl $(address):$(port) --upload-file $(input) + curl $(address):$(port)$(path) --upload-file $(input) 2> /dev/null