summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-11-21 14:52:01 +0100
committerMattes D <github@xoft.cz>2015-11-21 14:52:01 +0100
commit19d38291fbbcd6c3373fed4522c9958c8a79dbb3 (patch)
tree74844954c2a51c8a9bf706dce9657a433172e2dd
parentMerge pull request #2660 from cuberite/worktycho-patch-2 (diff)
parentcompile.sh - Automatically choose master branch (diff)
downloadcuberite-19d38291fbbcd6c3373fed4522c9958c8a79dbb3.tar
cuberite-19d38291fbbcd6c3373fed4522c9958c8a79dbb3.tar.gz
cuberite-19d38291fbbcd6c3373fed4522c9958c8a79dbb3.tar.bz2
cuberite-19d38291fbbcd6c3373fed4522c9958c8a79dbb3.tar.lz
cuberite-19d38291fbbcd6c3373fed4522c9958c8a79dbb3.tar.xz
cuberite-19d38291fbbcd6c3373fed4522c9958c8a79dbb3.tar.zst
cuberite-19d38291fbbcd6c3373fed4522c9958c8a79dbb3.zip
-rwxr-xr-xcompile.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/compile.sh b/compile.sh
index 19d49b6b2..185a39996 100755
--- a/compile.sh
+++ b/compile.sh
@@ -84,6 +84,13 @@ if [[ $MISSING_PROGRAMS != "" ]]; then
missingDepsExit
fi
+# Bypass Branch choice and choose master. Because it's the only branch right now.
+BRANCH="master"
+
+### Inactive code start. ###
+function inactiveCode
+{
+
# Echo: Branch choice.
echo
echo "You can choose between 2 branches:"
@@ -113,6 +120,9 @@ else
error "Unrecognized user input."
fi
+}
+### Inactive code end. ###
+
# Echo: Compile mode choice.
echo
echo "Choose compile mode:"
@@ -197,3 +207,4 @@ exit 0
:windows_detected
echo "This script is not available for Windows yet, sorry."
echo "You can still download the Windows binaries from: http://cuberite.org"
+echo "You can also manually compile for Windows. See: https://github.com/cuberite/cuberite"