Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

BuildDistribution.cmd 1.1KB

12345678910111213141516171819202122232425262728293031323334
  1. @ECHO OFF
  2. REM This script updates and builds the Windows SDK
  3. REM Before moving to a new version this script must be updated.
  4. REM When properly configured this script does:
  5. REM
  6. REM 1. Update the source and project directories in SNFMultiSDK_Windows_X.Y
  7. REM from the same directories in ../SNFMultiSDK_Windows_X.Y
  8. REM
  9. REM 2. Copy SNFMultiSDK_Windows_X.Y to SDKBuild/SNFMultiSDK_Windows_X.Y
  10. REM
  11. REM 3. Remove the .svn files from all subdirectories in Build/SNFMultiSDK_Windows_X.Y
  12. REM
  13. REM 4. Create the zip file SNFMultiSDK_Windows_X.Y.zip
  14. REM
  15. REM 5. Copy the SNFMultiSDK_Windows_X.Y.zip file to .. (back to the PKG-SNF-SDK-WIN root)
  16. REM
  17. REM 6. Empty the SDKBuild directory.
  18. REM
  19. REM 7. Pause to let the developer view the success and remind them to commit the revision to SVN.
  20. setlocal
  21. set PATH=32bitdll;%PATH%
  22. set DISTDIR=SNFMultiSDK_Windows_3.3
  23. set TEMPDIR=C:\TEMP
  24. set ZIPFILE=%DISTDIR%.zip
  25. set TEMPDIST=%TEMPDIR%\%DISTDIR%
  26. BuildDistribution\BuildDistribution -d %DISTDIR% -t %TEMPDIR%
  27. @DEL %ZIPFILE%
  28. jzip -p -r %ZIPFILE% %TEMPDIST%
  29. ECHO Created zipfile %ZIPFILE%
  30. RMDIR /S /Q %TEMPDIST%