mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
fcdc244a11
Apparently `mvn clean` downloads all the packages when running `make package`.
25 lines
370 B
Makefile
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
|