Corrected build scripts for SVN->Git

This commit is contained in:
Kieron Morris 2020-10-29 00:51:43 +00:00
parent df71543dee
commit 9a549379f6
3 changed files with 6 additions and 11 deletions

View File

@ -108,5 +108,5 @@ checksum=$(md5sum release/Asuro.iso | awk '{print $1}')
wget -q https://img.shields.io/badge/checksum-$checksum-important.svg -O release/checksum.svg
cd release
touch *
svn commit -m "Versioning Auto-Commit"
#svn commit -m "Versioning Auto-Commit"
cd ..

View File

@ -1,11 +1,6 @@
#!/bin/sh
DIRECTORY="src/vm"
if [ -d "$DIRECTORY" ]; then
cd "src/vm"
svn update
cd ".."
cd ".."
else
cd src
svn checkout https://spexeah.com:8443/svn/MINJ/src/vm
fi
rm -rf /tmp/MINJ
git clone https://gitlab.spexeah.com/spexeah/MINJ.git /tmp/MINJ
rm -rf $DIRECTORY
cp -rf /tmp/MINJ/src/vm $DIRECTORY

View File

@ -12,7 +12,7 @@ done <"$file"
linecount=$(./loc.sh | awk '{print $1}')
sourcecount=$(find src -type f | wc -l)
drivercount=$(find src/driver -type f | wc -l)
revision=$(svn info | grep Revision | awk '{print $2}')
revision=$(git rev-list --count HEAD)
fpcversion=$(fpc -h | grep -m 1 version | awk '{print $5}')
makeversion=$(make -v | grep GNU | awk '{print $3}')
nasmversion=$(nasm -v | awk '{print $3'})