Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2922-DataCompletenessChartPerf/PreBuildEvent.sh @ 16162

Last change on this file since 16162 was 15682, checked in by swagner, 7 years ago

#2887: moved content of trunk/sources to trunk

  • Property svn:executable set to *
  • Property svn:mergeinfo set to (toggle deleted branches)
    /stable/PreBuildEvent.shmergedeligible
    /branches/1721-RandomForestPersistence/PreBuildEvent.sh10321-10322
    /branches/Algorithms.GradientDescent/PreBuildEvent.sh5516-5520
    /branches/Async/PreBuildEvent.sh13329-15286
    /branches/Benchmarking/sources/PreBuildEvent.sh6917-7005
    /branches/CloningRefactoring/PreBuildEvent.sh4656-4721
    /branches/CodeEditor/PreBuildEvent.sh11700-11806
    /branches/DataAnalysis Refactoring/PreBuildEvent.sh5471-5808
    /branches/DataAnalysis SolutionEnsembles/PreBuildEvent.sh5815-6180
    /branches/DataAnalysis/PreBuildEvent.sh4458-4459,​4462,​4464
    /branches/DataPreprocessing/PreBuildEvent.sh10085-11101
    /branches/GP.Grammar.Editor/PreBuildEvent.sh6284-6795
    /branches/GP.Symbols (TimeLag, Diff, Integral)/PreBuildEvent.sh5060
    /branches/HLScript/PreBuildEvent.sh10331-10358
    /branches/HeuristicLab.DatasetRefactor/sources/PreBuildEvent.sh11570-12508
    /branches/HeuristicLab.Problems.DataAnalysis.Trading/PreBuildEvent.sh6123-9799
    /branches/HeuristicLab.Problems.Orienteering/PreBuildEvent.sh11130-12721
    /branches/HiveStatistics/sources/PreBuildEvent.sh12440-12877
    /branches/LogResidualEvaluator/PreBuildEvent.sh10202-10483
    /branches/NET40/sources/PreBuildEvent.sh5138-5162
    /branches/NSGA-II Changes/PreBuildEvent.sh12033-12122
    /branches/ParallelEngine/PreBuildEvent.sh5175-5192
    /branches/ProblemInstancesRegressionAndClassification/PreBuildEvent.sh7568-7810
    /branches/QAPAlgorithms/PreBuildEvent.sh6350-6627
    /branches/Restructure trunk solution/PreBuildEvent.sh6828
    /branches/RuntimeOptimizer/PreBuildEvent.sh8943-9078
    /branches/ScatterSearch (trunk integration)/PreBuildEvent.sh7787-8333
    /branches/SlaveShutdown/PreBuildEvent.sh8944-8956
    /branches/SpectralKernelForGaussianProcesses/PreBuildEvent.sh10204-10479
    /branches/SuccessProgressAnalysis/PreBuildEvent.sh5370-5682
    /branches/Trunk/PreBuildEvent.sh6829-6865
    /branches/UnloadJobs/PreBuildEvent.sh9168-9215
    /branches/VNS/PreBuildEvent.sh5594-5752
    /branches/crossvalidation-2434/PreBuildEvent.sh12948-12950
    /branches/histogram/PreBuildEvent.sh5959-6341
    /branches/symbreg-factors-2650/PreBuildEvent.sh14232-14825
File size: 594 bytes
Line 
1export AIFile=$ProjectDir/Properties/AssemblyInfo.cs.frame
2export PluginFile=$ProjectDir/Plugin.cs.frame
3
4command_exists () {
5    command -v "$1"
6}
7
8if command_exists svnwcrev ; then   
9  if [ -f $AIFile ];
10  then
11    svnwcrev $ProjectDir $AIFile $ProjectDir/Properties/AssemblyInfo.cs
12  fi
13
14  if [ -f $PluginFile ];
15  then
16    svnwcrev $ProjectDir $PluginFile $ProjectDir/Plugin.cs
17  fi
18else
19  if [ -f $AIFile ];
20  then
21    sed 's/\$WCREV\$/'0'/g' $AIFile > $ProjectDir/Properties/AssemblyInfo.cs
22  fi
23
24  if [ -f $PluginFile ];
25  then
26   sed 's/\$WCREV\$/'0'/g' $PluginFile > $ProjectDir/Plugin.cs
27  fi
28fi
29
Note: See TracBrowser for help on using the repository browser.