Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/18/10 16:19:21 (15 years ago)
Author:
mkommend
Message:

adapted CopyAssemblies.cmd and !CustomPostBuildTemplate_UpdateLocalInstallation.cmd (ticket #799)

Location:
trunk/sources/HeuristicLab
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab/CopyAssemblies.cmd

    r2637 r2638  
    44echo "Platform: %Platform%, architecture: %PROCESSOR_ARCHITECTURE%"
    55if "%Platform%" == "x86" (   
    6   FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x86.txt") DO echo "%%H" && copy "%SolutionDir%\%%G" .\
     6  FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x86.txt") DO echo "%%G" && copy "%SolutionDir%\%%G" .\
    77) else if "%Platform%" == "x64" (
    8   FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x64.txt") DO echo "%%H" && copy "%SolutionDir%\%%G" .\
     8  FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x64.txt") DO echo "%%G" && copy "%SolutionDir%\%%G" .\
    99) else if "%Platform%" == "AnyCPU" (
    1010  if "%PROCESSOR_ARCHITECTURE%" == "x64" (
    11   FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x64.txt") DO echo "%%H" && copy "%SolutionDir%\%%G" .\
     11  FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x64.txt") DO echo "%%G" && copy "%SolutionDir%\%%G" .\
    1212  ) else if "%PROCESSOR_ARCHITECTURE%" == "x86" (
    13   FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x86.txt") DO echo "%%H" && copy "%SolutionDir%\%%G" .\
     13  FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x86.txt") DO echo "%%G" && copy "%SolutionDir%\%%G" .\
    1414  ) else (
    1515    echo "ERROR: unknown architecture: "%PROCESSOR_ARCHITECTURE%"
  • trunk/sources/HeuristicLab/CustomPostBuildTemplate_UpdateLocalInstallation.cmd

    r2604 r2638  
    66copy HeuristicLab.PluginInfrastructure.dll "%target%"
    77
    8 FOR /F "skip=1 tokens=1-2 delims=: usebackq" %%G IN ("%ProjectDir%\Files.txt") DO copy "%SolutionDir%\%%G\%Outdir%\%%H" "%target%"
     8FOR /F "skip=1 tokens=1-2 delims=: usebackq" %%G IN ("%ProjectDir%\Files.txt") DO copy "%SolutionDir%\%%G\%Outdir%\%%H" "%target%" >nul
    99
    1010
    1111echo "Platform: %Platform%, architecture: %PROCESSOR_ARCHITECTURE%"
    1212if "%Platform%" == "x86" (   
    13   FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x86.txt") DO copy "%SolutionDir%\%%G" "%target%"
     13  FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x86.txt") DO copy "%SolutionDir%\%%G" "%target%" >nul
    1414) else if "%Platform%" == "x64" (
    15   FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x64.txt") DO copy "%SolutionDir%\%%G" "%target%"
     15  FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x64.txt") DO copy "%SolutionDir%\%%G" "%target%" >nul
    1616) else if "%Platform%" == "AnyCPU" (
    1717  if "%PROCESSOR_ARCHITECTURE%" == "x64" (
    18   FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x64.txt") DO copy "%SolutionDir%\%%G" "%target%"
     18  FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x64.txt") DO copy "%SolutionDir%\%%G" "%target%" >nul
    1919  ) else if "%PROCESSOR_ARCHITECTURE%" == "x86" (
    20   FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x86.txt") DO copy "%SolutionDir%\%%G" "%target%"
     20  FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x86.txt") DO copy "%SolutionDir%\%%G" "%target%" >nul
    2121  ) else (
    2222    echo "ERROR: unknown architecture: "%PROCESSOR_ARCHITECTURE%"
Note: See TracChangeset for help on using the changeset viewer.