File: build.chms.bat

package info (click to toggle)
php-doc 20241205~git.dfcbb86%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 70,956 kB
  • sloc: xml: 968,269; php: 23,883; javascript: 671; sh: 177; makefile: 37
file content (9 lines) | stat: -rw-r--r-- 454 bytes parent folder | download
1
2
3
4
5
6
7
8
9
@ECHO OFF

CALL "php.exe" -d memory_limit=-1 "C:\phpdoc\doc-base\scripts\build-chms.php" %*
CALL "C:\Program Files\Windows Defender\MpCmdRun.exe" -Scan -ScanType 3 -File "C:\Dropbox\Dropbox\Public\chm" > C:\Log.txt
if "%ERRORLEVEL%"  == "0" (
  echo "no chm malware detected" >> C:\Log.txt
  CALL aws s3 sync "C:\Dropbox\Dropbox\Public\chm" s3://phpmanualchm/
)
CALL "C:\Windows\System32\shutdown.exe" -s -t 120 -f -c "force shutdown after building chm"