Makefile : Silence stderr for test target & add malformed input.
This commit is contained in:
parent
eaff21a16a
commit
a5d336f805
|
@ -1,2 +1,3 @@
|
||||||
https://git.voronind.com
|
https://git.voronind.com
|
||||||
https://music.yandex.ru
|
https://music.yandex.ru
|
||||||
|
afasddf
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -3,6 +3,7 @@ sbt = sbt $(sbt_args)
|
||||||
sbt_args = -java-home $(JAVA_HOME)
|
sbt_args = -java-home $(JAVA_HOME)
|
||||||
address = localhost
|
address = localhost
|
||||||
port = 8000
|
port = 8000
|
||||||
|
path = "/crawl_title"
|
||||||
input = Input.txt
|
input = Input.txt
|
||||||
|
|
||||||
run:
|
run:
|
||||||
|
@ -12,4 +13,4 @@ clean:
|
||||||
$(sbt) clean
|
$(sbt) clean
|
||||||
|
|
||||||
test:
|
test:
|
||||||
curl $(address):$(port) --upload-file $(input)
|
curl $(address):$(port)$(path) --upload-file $(input) 2> /dev/null
|
||||||
|
|
Reference in a new issue