1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-03 08:51:22 +00:00
qb64/.ci/update-source.sh
2020-01-04 23:40:28 +11:00

18 lines
429 B
Bash
Executable file

#!/bin/bash
rm internal/source/*
mv internal/temp/* internal/source/
find . -type f -iname "*.a" -exec rm {} \;
find . -type f -iname "*.o" -exec rm {} \;
cd internal/source
rm debug_* recompile_*
cd ../..
git config --local user.email "flukiluke@gmail.com"
git config --local user.name "Autobuild Process"
git add internal/source
if [[ $(git diff --cached | wc -l) -gt 0 ]]
then git commit -m "Update internal/source"
fi