From: Christian Heller Date: Wed, 16 Dec 2015 01:52:35 +0000 (+0100) Subject: Simplify initial start by automatically building libplomrogue.so. X-Git-Tag: tce~219 X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/add_task?a=commitdiff_plain;h=45f5aed9ded519f5ace770820c2aa84f5c736b8c;p=plomrogue Simplify initial start by automatically building libplomrogue.so. --- diff --git a/README b/README index 5759ccd..ad0dee1 100644 --- a/README +++ b/README @@ -35,9 +35,8 @@ To build it, this is furthermore necessary: - gcc (version >= 4.7.2); some llvm masked as gcc was tested successfully on OSX - libc library headers (libc6-dev?) -To build and start, do the following steps: +To build and start, just run: -$ ./build.sh $ ./roguelike ./roguelike is a shell script that executes a union of ./roguelike-server and diff --git a/start_server_client_union.sh b/start_server_client_union.sh index 74872c7..676e674 100755 --- a/start_server_client_union.sh +++ b/start_server_client_union.sh @@ -21,8 +21,8 @@ fi # Give helpful message to players that want to start without compiling first. if [ ! -e ./libplomrogue.so ] then - echo 'No ./libplomrogue.so library found. Try "./build.sh" first?' - false + echo 'No ./libplomrogue.so library found. Building …' + ./build.sh fi # Use shell script's arguments for server and pipe server output to log file.