Makefile : Silence stderr for test target & add malformed input.
This commit is contained in:
parent
eaff21a16a
commit
a5d336f805
3
Makefile
3
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
|
||||
|
|
Reference in a new issue