purrforce/sync2git.bat

25 lines
689 B
Batchfile

set GITDIR=D:\dev\db\purrforce\
call make distclean
mkdir %GITDIR%
mkdir %GITDIR%images\
mkdir %GITDIR%tray\
copy /B /Y api.h %GITDIR%
copy /B /Y ls.bat %GITDIR%
copy /B /Y *.c %GITDIR%
copy /B /Y images %GITDIR%images\
copy /B /Y tray %GITDIR%tray\
copy /B /Y make.bat %GITDIR%
copy /B /Y Makefile %GITDIR%
copy /B /Y pull_fromgit.bat %GITDIR%
copy /B /Y readme.md %GITDIR%
copy /B /Y rm.bat %GITDIR%
copy /B /Y sync2git.bat %GITDIR%
copy /B /Y touch.bat %GITDIR%
set RETFOL=%~dp0
cd %GITDIR%
git add -u
git add .
git commit -m ok
git push
cd %RETFOL%