From 9f31ffbe6881da59bc35343afedbab1a1142a1f1 Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Thu, 30 Jan 2020 22:05:43 -0500 Subject: [PATCH] add script: build minetest from current directory --- build-minetest-here.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 build-minetest-here.sh diff --git a/build-minetest-here.sh b/build-minetest-here.sh new file mode 100755 index 0000000..5c7ea5f --- /dev/null +++ b/build-minetest-here.sh @@ -0,0 +1,5 @@ +#!/bin/bash +if [ -f bin/minetest ]; then + make clean +fi +cmake . -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1 -DENABLE_REDIS=1 -DRUN_IN_PLACE=1 && make -j$(grep -c processor /proc/cpuinfo)