update to .dot-files-laptop
This commit is contained in:
parent
ae9a611ea6
commit
3bae03e47a
46 changed files with 3332 additions and 0 deletions
30
.dot-files-laptop/.bin/sh/voidsw-compile.sh
Executable file
30
.dot-files-laptop/.bin/sh/voidsw-compile.sh
Executable file
|
@ -0,0 +1,30 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Switch to git directory and clone source
|
||||
{
|
||||
cd /home/peter/Downloads/git;
|
||||
git clone https://voidpoint.io/terminx/eduke32.git;
|
||||
}
|
||||
|
||||
# Build binary
|
||||
|
||||
{
|
||||
cd eduke32;
|
||||
make voidsw;
|
||||
}
|
||||
|
||||
# Install executable @ ~/.bin
|
||||
|
||||
{
|
||||
cd /home/peter/.bin/voidsw;
|
||||
mv /home/peter/.bin/voidsw/voidsw /home/peter/.bin/voidsw/old;
|
||||
cd /home/peter/Downloads/git/eduke32;
|
||||
cp /home/peter/Downloads/git/eduke32/voidsw /home/peter/.bin/voidsw;
|
||||
chmod 755 /home/peter/.bin/voidsw/voidsw;
|
||||
}
|
||||
|
||||
# Cleanup
|
||||
|
||||
{
|
||||
rm -rf /home/peter/Downloads/git/eduke32;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue