mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #9014 from overleaf/jlm-avoid-git-bridge-compile
Avoid always compiling the git bridge on start GitOrigin-RevId: 2b8d4cf29c243d5de5f4cd026c63e1c8406771da
This commit is contained in:
parent
8f343be843
commit
7f09c6cf0c
1 changed files with 6 additions and 7 deletions
|
@ -1,18 +1,17 @@
|
|||
# git-bridge makefile
|
||||
|
||||
MVN_OPTS := "--no-transfer-progress"
|
||||
MVN_OPTS := --no-transfer-progress
|
||||
MVN_TARGET := target/writelatex-git-bridge-1.0-SNAPSHOT-jar-with-dependencies.jar
|
||||
|
||||
runtime-conf:
|
||||
/opt/envsubst < conf/envsubst_template.json > conf/runtime.json
|
||||
|
||||
|
||||
run: package runtime-conf
|
||||
java $(GIT_BRIDGE_JVM_ARGS) -jar \
|
||||
target/writelatex-git-bridge-1.0-SNAPSHOT-jar-with-dependencies.jar \
|
||||
conf/runtime.json
|
||||
run: $(MVN_TARGET) runtime-conf
|
||||
java $(GIT_BRIDGE_JVM_ARGS) -jar $(MVN_TARGET) conf/runtime.json
|
||||
|
||||
|
||||
build:
|
||||
$(MVN_TARGET): $(shell find src -type f)
|
||||
mvn $(MVN_OPTS) package -DskipTests
|
||||
|
||||
|
||||
|
@ -28,4 +27,4 @@ package: clean
|
|||
mvn $(MVN_OPTS) package -DskipTests
|
||||
|
||||
|
||||
.PHONY: run package build clean test runtime-conf
|
||||
.PHONY: run package clean test runtime-conf
|
||||
|
|
Loading…
Reference in a new issue