Changeset 13428
- Timestamp:
- 12/02/15 12:32:35 (9 years ago)
- Location:
- trunk/sources
- Files:
-
- 4 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab/3.3/HeuristicLab-3.3.csproj
r11623 r13428 224 224 if exist "%25ProjectDir%25CustomPostBuild.cmd" call CustomPostBuild.cmd</PostBuildEvent> 225 225 <PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' "> 226 export Out dir=$(Outdir)226 export OutDir=$(OutDir) 227 227 export ProjectDir=$(ProjectDir) 228 228 export SolutionDir=$(SolutionDir) 229 export TargetDir=$(TargetDir) 229 230 230 231 $SolutionDir/MergeConfigs.sh 231 232 </PostBuildEvent> 232 233 </PropertyGroup> 234 <PropertyGroup> 235 <PostBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir) 236 set ProjectDir=$(ProjectDir) 237 set SolutionDir=$(SolutionDir) 238 set OutDir=$(OutDir) 239 set TargetDir=$(TargetDir) 240 set Platform=$(PlatformName) 241 set Configuration=$(ConfigurationName) 242 243 call "$(SolutionDir)MergeConfigs.cmd"</PostBuildEvent> 244 </PropertyGroup> 233 245 </Project> -
trunk/sources/MergeConfigs.cmd
r7060 r13428 1 1 @echo off 2 2 3 IF "% Outdir%"=="" (4 SET Outdir=bin\3 IF "%TargetDir%"=="" ( 4 SET TargetDir=.\bin\ 5 5 SET INTERACTIVE=1 6 6 ) 7 7 8 8 echo Recreating HeuristicLab 3.3.exe.config... 9 copy /Y "% Outdir%app.config" "%Outdir%HeuristicLab 3.3.exe.config"9 copy /Y "%TargetDir%app.config" "%TargetDir%HeuristicLab 3.3.exe.config" 10 10 11 11 echo Merging... 12 FOR /F "tokens=*" %%A IN ('dir /B "% Outdir%*.dll.config"') DO (13 ConfigMerger "%Outdir%%%A" "%Outdir%HeuristicLab 3.3.exe.config"12 FOR /F "tokens=*" %%A IN ('dir /B "%TargetDir%*.dll.config"') DO ( 13 "%SolutionDir%ConfigMerger.exe" "%TargetDir%%%A" "%TargetDir%HeuristicLab 3.3.exe.config" 14 14 ) 15 15 -
trunk/sources/MergeConfigs.sh
r8600 r13428 1 if [ "${ Outdir}" == "" ]; then2 Outdir=bin1 if [ "${TargetDir}" == "" ]; then 2 TargetDir=bin 3 3 fi 4 4 5 5 echo Recreating HeuristicLab 3.3.exe.config... 6 cp $ Outdir/app.config "$Outdir/HeuristicLab 3.3.exe.config"6 cp $TargetDir/app.config "$TargetDir/HeuristicLab 3.3.exe.config" 7 7 8 8 echo Merging... 9 for f in $(ls $ Outdir/*.dll.config); do10 mono $SolutionDir/ConfigMerger.exe $f "$ Outdir/HeuristicLab 3.3.exe.config"9 for f in $(ls $TargetDir/*.dll.config); do 10 mono $SolutionDir/ConfigMerger.exe $f "$TargetDir/HeuristicLab 3.3.exe.config" 11 11 done
Note: See TracChangeset
for help on using the changeset viewer.