mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-28 19:41:33 +02: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user