diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index f5069af..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "Waterfall"] - path = Waterfall - url = https://github.com/WaterfallMC/Waterfall.git diff --git a/applyPatches.sh b/applyPatches.sh index 0171df5..7118f73 100755 --- a/applyPatches.sh +++ b/applyPatches.sh @@ -60,8 +60,14 @@ if [[ "$gpgsign" == "true" ]]; then git config --global commit.gpgsign false fi +# Apply waterfall patches +basedir=$basedir/Waterfall +pushd Waterfall +applyPatch BungeeCord Waterfall-Proxy HEAD +popd +basedir=$(dirname $basedir) -# Apply patches +# Apply travertine patches applyPatch Waterfall/Waterfall-Proxy Travertine-Proxy HEAD enableCommitSigningIfNeeded diff --git a/build.sh b/build.sh index 8c7ceb2..ff81108 100755 --- a/build.sh +++ b/build.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash -./prepareBuild.sh && pushd Travertine-Proxy && mvn clean package && popd +./applyPatches.sh && pushd Travertine-Proxy && mvn clean package && popd diff --git a/prepareBuild.sh b/prepareBuild.sh deleted file mode 100755 index cb8d9e2..0000000 --- a/prepareBuild.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash - -git submodule update --recursive --init - -pushd Waterfall - -./applyPatches.sh - -popd - -./applyPatches.sh -