home · contact · privacy
Server/py: Use -O3 for libplomrogue.
[plomrogue] / redo
1 #!/bin/sh
2
3 # The purpose of this script is to step in if no version of the "redo" build
4 # system is installed on your system to interpret the files that (Makefile-like)
5 # build the PlomRogue system: ./all.do, ./roguelike-client.do and
6 # ./roguelike-server.do.
7
8 # If a version of "redo" is installed on your system and in your $PATH, just run
9 # "redo roguelike-client", "redo roguelike-server" or plain "redo" (to build
10 # both via all.do). Otherwise, run this very script with the very same
11 # arguments. It uses parts of a basic "redo" implementation written by Nils
12 # Dagsson Moskopp a.k.a. erlehmann, snapshots of which are stored in
13 # build/redo_scripts/. For details on this version, see:
14 # - <http://news.dieweltistgarnichtso.net/bin/redo.html>
15 # - <http://news.dieweltistgarnichtso.net/bin/redo-ifchange.html>
16 #
17 # This "redo" implementation may experience trouble on OS X systems, see
18 # <https://github.com/plomlompom/plomrogue/issues/2#issuecomment-50972436> for a
19 # workaround.
20
21 echo "non-redo stuff (preparing for future Python port sans redo needs):"
22 echo "Building library for server's Python variant with mere shell one-liner."
23 ./compile-server.sh
24
25 export PATH=$PATH:$PWD/build/redo_scripts
26 redo "$@"