overleaf/services/git-bridge/Makefile
Jakob Ackermann fcdc244a11 [misc] add --no-transfer-progress to all the mvn commands
Apparently `mvn clean` downloads all the packages when running
 `make package`.
2021-01-04 10:31:40 +00:00

25 lines
370 B
Makefile

# git-bridge makefile
MVN_OPTS := "--no-transfer-progress"
run: package
java -jar target/writelatex-git-bridge-1.0-SNAPSHOT-jar-with-dependencies.jar conf/local.json
build:
mvn $(MVN_OPTS) package -DskipTests
test:
mvn $(MVN_OPTS) test
clean:
mvn $(MVN_OPTS) clean
package: clean
mvn $(MVN_OPTS) package -DskipTests
.PHONY: run package build clean test