From 45f5aed9ded519f5ace770820c2aa84f5c736b8c Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Wed, 16 Dec 2015 02:52:35 +0100 Subject: [PATCH] Simplify initial start by automatically building libplomrogue.so. --- README | 3 +-- start_server_client_union.sh | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) 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. -- 2.30.2