add scripts
This commit is contained in:
parent
8e5898aa57
commit
428458e50a
36 changed files with 934 additions and 0 deletions
31
.bin/sh/catacombgl-compile.sh
Executable file
31
.bin/sh/catacombgl-compile.sh
Executable file
|
@ -0,0 +1,31 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Switch to git directory and clone source
|
||||
{
|
||||
cd /home/peter/Downloads/git;
|
||||
git clone https://github.com/ArnoAnsems/CatacombGL;
|
||||
}
|
||||
|
||||
# Build binary
|
||||
|
||||
{
|
||||
cd CatacombGL;
|
||||
mkdir build;
|
||||
}
|
||||
|
||||
# Install executable @ ~/.bin
|
||||
|
||||
{
|
||||
cd build;
|
||||
mv /home/peter/.bin/catacombgl/CatacombGL /home/peter/.bin/catacombgl/.old;
|
||||
cmake ..;
|
||||
make -j12;
|
||||
cp /home/peter/Downloads/git/CatacombGL/build/CatacombGL /home/peter/.bin/catacombgl;
|
||||
chmod 755 /home/peter/.bin/catacombgl/CatacombGL;
|
||||
}
|
||||
|
||||
# Cleanup
|
||||
|
||||
{
|
||||
rm -rf /home/peter/Downloads/git/CatacombGL;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue