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

1234567891011121314151617181920212223242526272829303132
  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. set DISTDIR=SNFMultiSDK_Windows_3.1
  21. set TEMPDIR=C:\TEMP
  22. set ZIPFILE=%DISTDIR%.zip
  23. set TEMPDIST=%TEMPDIR%\%DISTDIR%
  24. BuildDistribution\BuildDistribution -d %DISTDIR% -t %TEMPDIR%
  25. @DEL %ZIPFILE%
  26. jzip -p -r %ZIPFILE% %TEMPDIST%
  27. ECHO Created zipfile %ZIPFILE%
  28. RMDIR /S /Q %TEMPDIST%