Skip to content

Instantly share code, notes, and snippets.

@lluchs
Created October 18, 2011 15:48
Show Gist options
  • Save lluchs/1295767 to your computer and use it in GitHub Desktop.
Save lluchs/1295767 to your computer and use it in GitHub Desktop.
Batch script for creating Clonk updates, see http://www.ccan.de/cgi-bin/ccan/ccan-view.pl?a=view&i=4545
@ECHO OFF
color 70
cls
@ECHO For detecting differences:
@ECHO Old file? (the one which should be updated)
SET /P old=Enter:
cls
@ECHO For detecting differences:
@ECHO New file? (the file's current version)
SET /P new=Enter:
cls
@ECHO Update name? (the file name)
SET /P name=Enter:
cls
@ECHO Description? (will be shown after updating)
SET /P desc=Enter:
PAUSE
c4group "%name%.c4u" -g "%old%" "%new%" "%desc%"
PAUSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment