Makefile : Silence stderr for test target & add malformed input.

This commit is contained in:
Dmitry Voronin 2024-09-23 16:39:43 +03:00
parent eaff21a16a
commit a5d336f805
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 3 additions and 1 deletions

View file

@ -1,2 +1,3 @@
https://git.voronind.com
https://music.yandex.ru
afasddf

View file

@ -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