better pull.bat based on rsync for dos
authorJohn Tsiombikas <nuclear@member.fsf.org>
Wed, 27 Apr 2022 00:53:19 +0000 (03:53 +0300)
committerJohn Tsiombikas <nuclear@member.fsf.org>
Wed, 27 Apr 2022 00:53:19 +0000 (03:53 +0300)
pull.bat

index 96498c0..9ded3c7 100644 (file)
--- a/pull.bat
+++ b/pull.bat
@@ -1,4 +1,10 @@
-ssh2dos -g -i c:\prog\ssh2dos\doskey -S -B nuclear 192.168.0.4 cd code/demoscene/dosdemo && git archive -o dd.zip master\r
-scp2dos -r -g -i c:\prog\ssh2dos\doskey nuclear@192.168.0.4:code/demoscene/dosdemo/dd.zip .\r
-unzip32 -o dd.zip\r
-del dd.zip\r
+rsync -uv 192.168.0.4::dosdemo/Makefile Makefile\r
+rsync -uv 192.168.0.4::dosdemo/src/*.c src\r
+rsync -uv 192.168.0.4::dosdemo/src/*.h src\r
+rsync -uv 192.168.0.4::dosdemo/src/dos/*.c src/dos\r
+rsync -uv 192.168.0.4::dosdemo/src/dos/*.h src/dos\r
+rsync -uv 192.168.0.4::dosdemo/src/dos/*.asm src/dos\r
+rsync -uv 192.168.0.4::dosdemo/src/scr/*.c src/scr\r
+rsync -uv 192.168.0.4::dosdemo/src/scr/*.h src/scr\r
+rsync -uv 192.168.0.4::dosdemo/src/3dgfx/*.c src/3dgfx\r
+rsync -uv 192.168.0.4::dosdemo/src/3dgfx/*.h src/3dgfx\r