apple-keyboard-on-windows/pack.bat
Simon Rozman f665abe483 Add packaging helper
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-12-29 10:25:11 +01:00

16 lines
306 B
Batchfile

@echo off
setlocal enabledelayedexpansion
set BUILDDIR=%~dp0
call :pack hr-apple || goto :error
call :pack sl-apple || goto :error
exit /b 0
:pack
set BASENAME=%1
tar.exe -c -f "%BUILDDIR%%BASENAME%.zip" -C "%BUILDDIR%." "%BASENAME%" license.txt readme.md
goto :eof
:error
cmd /c exit %errorlevel%