Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

BuildDistribution.cmd 1.1KB

1234567891011121314151617181920212223242526272829303132333435
  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 C:\TEMP\SNFMultiSDK_Windows_X.Y
  10. REM
  11. REM 3. Remove the .svn files from all subdirectories in C:\TEMP\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 C:\TEMP\SNFMultiSDK_Windows_X.Y directory.
  18. REM
  19. REM 7. Pause to let the developer view the success and remind them to commit the revision to
  20. REM the repository.
  21. setlocal
  22. set PATH=32bitdll;%PATH%
  23. set DISTDIR=SNFMultiSDK_Windows_3.4
  24. set TEMPDIR=C:\TEMP
  25. set ZIPFILE=%DISTDIR%.zip
  26. set TEMPDIST=%TEMPDIR%\%DISTDIR%
  27. BuildDistribution\BuildDistribution -d %DISTDIR% -t %TEMPDIR%
  28. @DEL %ZIPFILE%
  29. jzip -p -r %ZIPFILE% %TEMPDIST%
  30. ECHO Created zipfile %ZIPFILE%
  31. RMDIR /S /Q %TEMPDIST%