# 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
path     = "/crawl_title"
input    = Input.txt

run:
	$(sbt) run

clean:
	$(sbt) clean

test:
	curl $(address):$(port)$(path) --upload-file $(input) 2> /dev/null