git-svn-id: https://spexeah.com:8443/svn/Asuro@657 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c

This commit is contained in:
kieron
2018-05-04 00:08:21 +00:00
parent 1fb51e6cdb
commit 0406efe0ec
13 changed files with 6 additions and 1 deletions

View File

@ -6,6 +6,7 @@ while IFS=: read -r line;do
minor=$(echo $line | awk '{print $2}')
sub=$(echo $line | awk '{print $3}')
release=$(echo $line | awk '{print $4}')
linecount=$(./loc.sh | awk '{print $1}')
done <"$file"
revision=$(svn info | grep Revision | awk '{print $2}')
echo $major"."$minor"."$sub"-r"$revision$release
@ -20,6 +21,7 @@ echo " VERSION_MINOR = '$minor';" >> $outfile
echo " VERSION_SUB = '$sub';" >> $outfile
echo " REVISION = '$revision';" >> $outfile
echo " RELEASE = '$release';" >> $outfile
echo " LINE_COUNT = $linecount;" >> $outfile
echo " " >> $outfile
echo "implementation" >> $outfile
echo " " >> $outfile