From 45fce075ad7a60077a9a0d854fa85f3331faba08 Mon Sep 17 00:00:00 2001 From: Troy Frew Date: Mon, 27 Jun 2016 02:35:20 -0400 Subject: [PATCH] Added build and prepareBuild scripts --- .gitmodules | 3 +++ build.sh | 4 ++++ prepareBuild.sh | 12 ++++++++++++ 3 files changed, 19 insertions(+) create mode 100644 .gitmodules create mode 100755 build.sh create mode 100755 prepareBuild.sh diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..f5069af --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "Waterfall"] + path = Waterfall + url = https://github.com/WaterfallMC/Waterfall.git diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..8c7ceb2 --- /dev/null +++ b/build.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +./prepareBuild.sh && pushd Travertine-Proxy && mvn clean package && popd + diff --git a/prepareBuild.sh b/prepareBuild.sh new file mode 100755 index 0000000..cb8d9e2 --- /dev/null +++ b/prepareBuild.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +git submodule update --recursive --init + +pushd Waterfall + +./applyPatches.sh + +popd + +./applyPatches.sh +