Added a few helper scripts.

This commit is contained in:
Relintai 2020-08-15 14:44:04 +02:00
parent b6e4de9f05
commit a22306e767
3 changed files with 33 additions and 0 deletions

7
cm.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
cd build
cmake ..
make -j4
cd ..
cp -u build/broken_seals site

6
compile.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
cd build
make -j4
cd ..
cp -u build/broken_seals site

20
setup.sh Executable file
View File

@ -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