|
@@ -20,7 +20,8 @@ rem pack.bat dry show what would be packed, write nothing
|
|
|
rem pack.bat verify open-box verify an already built zip
|
|
rem pack.bat verify open-box verify an already built zip
|
|
|
rem pack.bat help this text
|
|
rem pack.bat help this text
|
|
|
rem
|
|
rem
|
|
|
-rem Output: a .zip named guanlan-v[version]_dist_[date].zip, written next to the install dir.
|
|
|
|
|
|
|
+rem Output: a .zip named app_guanlang_v<version>.zip, written next to the install dir.
|
|
|
|
|
+rem (version rule + package name single source: src/version.py -> RULE / PACKAGE_STEM)
|
|
|
rem Details: README at install root, section "PACK / packaging" (Chinese)
|
|
rem Details: README at install root, section "PACK / packaging" (Chinese)
|
|
|
rem and docs\??????.md section 9 (delivery package)
|
|
rem and docs\??????.md section 9 (delivery package)
|
|
|
rem ============================================================================
|
|
rem ============================================================================
|
|
@@ -62,7 +63,7 @@ exit /b 0
|
|
|
:verify
|
|
:verify
|
|
|
if "%~2"=="" (
|
|
if "%~2"=="" (
|
|
|
echo [i] Usage: pack.bat verify [path\to\package.zip]
|
|
echo [i] Usage: pack.bat verify [path\to\package.zip]
|
|
|
- echo With no path, the newest guanlan-v*_dist_*.zip next to the install dir is used.
|
|
|
|
|
|
|
+ echo With no path, the newest app_guanlang_v*.zip next to the install dir is used.
|
|
|
)
|
|
)
|
|
|
".venv\Scripts\python.exe" scripts\pack_verify_entry.py %2
|
|
".venv\Scripts\python.exe" scripts\pack_verify_entry.py %2
|
|
|
pause
|
|
pause
|