Changeset 13453
- Timestamp:
- 12/14/15 10:27:02 (9 years ago)
- Location:
- stable
- Files:
-
- 4 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable/HeuristicLab/3.3/HeuristicLab-3.3.csproj
r11920 r13453 141 141 <SubType>Designer</SubType> 142 142 </None> 143 <None Include="CustomPostBuild.cmd" />144 <None Include="CustomPostBuildTemplate_UpdateLocalInstallation.cmd" />145 143 <None Include="HeuristicLab.snk" /> 146 144 <None Include="Properties\AssemblyInfo.cs.frame" /> … … 166 164 <CopyToOutputDirectory>Always</CopyToOutputDirectory> 167 165 </None> 168 <Content Include="Files.txt">169 </Content>170 <Content Include="Files.x64.txt">171 </Content>172 <Content Include="Files.x86.txt">173 </Content>174 166 <None Include="HeuristicLab 3.3 License.txt"> 175 167 <CopyToOutputDirectory>Always</CopyToOutputDirectory> … … 214 206 $SolutionDir/PreBuildEvent.sh 215 207 </PreBuildEvent> 216 <PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir) 217 set ProjectDir=$(ProjectDir) 218 set SolutionDir=$(SolutionDir) 219 set Outdir=$(Outdir) 220 set Platform=$(PlatformName) 221 set Configuration=$(ConfigurationName) 222 223 call "$(SolutionDir)MergeConfigs.cmd" 224 if exist "%25ProjectDir%25CustomPostBuild.cmd" call CustomPostBuild.cmd</PostBuildEvent> 208 <PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' "> 209 set Path=%25Path%25;$(ProjectDir);$(SolutionDir) 210 set ProjectDir=$(ProjectDir) 211 set SolutionDir=$(SolutionDir) 212 set OutDir=$(OutDir) 213 set TargetDir=$(TargetDir) 214 set Platform=$(PlatformName) 215 set Configuration=$(ConfigurationName) 216 217 call "$(SolutionDir)MergeConfigs.cmd" 218 </PostBuildEvent> 225 219 <PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' "> 226 export Out dir=$(Outdir)220 export OutDir=$(OutDir) 227 221 export ProjectDir=$(ProjectDir) 228 222 export SolutionDir=$(SolutionDir) 223 export TargetDir=$(TargetDir) 229 224 230 225 $SolutionDir/MergeConfigs.sh 231 226 </PostBuildEvent> 232 </PropertyGroup> 227 </PropertyGroup> 233 228 </Project> -
stable/MergeConfigs.cmd
r7060 r13453 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 -
stable/MergeConfigs.sh
r8600 r13453 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.