home · contact · privacy
Server/py: Add startup wrappers supporting Python variant.
[plomrogue] / redo
diff --git a/redo b/redo
index 965988aa31b617acf0121efe82a6732e2a2320fb..da2637beff1876add1a2f33e998f7ff95968cb7f 100755 (executable)
--- a/redo
+++ b/redo
 # build/redo_scripts/. For details on this version, see:
 # - <http://news.dieweltistgarnichtso.net/bin/redo.html>
 # - <http://news.dieweltistgarnichtso.net/bin/redo-ifchange.html>
+#
+# This "redo" implementation may experience trouble on OS X systems, see
+# <https://github.com/plomlompom/plomrogue/issues/2#issuecomment-50972436> for a
+# workaround.
+
+if [ ! -e ./libplomrogue.so ]
+then
+  echo "non-redo stuff (preparing for future Python port sans redo needs):"
+  echo "Building library for server's Python variant with mere shell one-liner."
+  ./compile-server.sh
+fi
 
 export PATH=$PATH:$PWD/build/redo_scripts
 redo "$@"