16 lines
298 B
Makefile
16 lines
298 B
Makefile
# 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
|
|
input = Input.txt
|
|
|
|
run:
|
|
$(sbt) run
|
|
|
|
clean:
|
|
$(sbt) clean
|
|
|
|
test:
|
|
curl $(address):$(port) --upload-file $(input)
|