This repository has been archived on 2024-09-28. You can view files and clone it, but cannot push or open issues or pull requests.
test2gis/Makefile

17 lines
344 B
Makefile
Raw Permalink Normal View History

# 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