mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-16 20:21:54 +00:00
[misc] add --no-transfer-progress to all the mvn commands
Apparently `mvn clean` downloads all the packages when running `make package`.
This commit is contained in:
parent
275bb1b330
commit
fcdc244a11
1 changed files with 5 additions and 4 deletions
|
@ -1,24 +1,25 @@
|
|||
# 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 --no-transfer-progress package -DskipTests
|
||||
mvn $(MVN_OPTS) package -DskipTests
|
||||
|
||||
|
||||
test:
|
||||
mvn --no-transfer-progress test
|
||||
mvn $(MVN_OPTS) test
|
||||
|
||||
|
||||
clean:
|
||||
mvn clean
|
||||
mvn $(MVN_OPTS) clean
|
||||
|
||||
|
||||
package: clean
|
||||
mvn --no-transfer-progress package -DskipTests
|
||||
mvn $(MVN_OPTS) package -DskipTests
|
||||
|
||||
|
||||
.PHONY: run package build clean test
|
||||
|
|
Loading…
Reference in a new issue