From a22306e767430b46f07c93b9ee9e0e41668dcdf8 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 15 Aug 2020 14:44:04 +0200 Subject: [PATCH] Added a few helper scripts. --- cm.sh | 7 +++++++ compile.sh | 6 ++++++ setup.sh | 20 ++++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100755 cm.sh create mode 100755 compile.sh create mode 100755 setup.sh diff --git a/cm.sh b/cm.sh new file mode 100755 index 0000000..792cd84 --- /dev/null +++ b/cm.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +cd build +cmake .. +make -j4 +cd .. +cp -u build/broken_seals site diff --git a/compile.sh b/compile.sh new file mode 100755 index 0000000..3a5ad3e --- /dev/null +++ b/compile.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +cd build +make -j4 +cd .. +cp -u build/broken_seals site diff --git a/setup.sh b/setup.sh new file mode 100755 index 0000000..d09a13f --- /dev/null +++ b/setup.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +# Temporary git clone, this will be converted to submodules after I'm sure there are no gotchas with +# the project's directory structure as messing with submodules can be a huge PITA +git clone https://github.com/an-tao/drogon drogon +cd drogon +git checkout f0110a642dcd31db9f339a49cac34de77ccec06f +git submodule update --init +mkdir build +cd build +cmake .. +make -j4 + +cd .. +cd .. + +mkdir build +cd build +cmake .. +make \ No newline at end of file