Rev | Line | |
---|
[8633] | 1 | # add hint path for DataVisualization assembly |
---|
| 2 | ORIG="<Reference Include=\"System.Windows.Forms.DataVisualization\" \/>" |
---|
| 3 | REP="<Reference Include=\"System.Windows.Forms.DataVisualization\" > \n <HintPath>..\/..\/bin\/System.Windows.Forms.DataVisualization.dll<\/HintPath> \n <\/Reference>" |
---|
| 4 | |
---|
[9702] | 5 | for filename in $(find . -name '*.csproj') |
---|
[8633] | 6 | do |
---|
| 7 | sed "s/$ORIG/$REP/g" $filename > tmp |
---|
| 8 | mv tmp $filename |
---|
| 9 | done; |
---|
| 10 | |
---|
[8654] | 11 | |
---|
[8633] | 12 | # remove projects that do not build |
---|
[9702] | 13 | unamestr=`uname` |
---|
| 14 | if [[ "$unamestr" == 'Darwin' ]]; then |
---|
[12465] | 15 | awk '/ICSharpCode.AvalonEdit-5.0.1|HeuristicLab.AvalonEdit-5.0.1/ {while (/ICSharpCode.AvalonEdit-5.0.1|HeuristicLab.AvalonEdit-5.0.1/ && getline>0) ; next} 1' HeuristicLab.ExtLibs.sln > tmp |
---|
[9702] | 16 | mv tmp HeuristicLab.ExtLibs.sln |
---|
| 17 | elif [[ "$unamestr" == 'Linux' ]]; then |
---|
[12465] | 18 | sed -e '/ICSharpCode.AvalonEdit-5.0.1/,+1d' -e '/HeuristicLab.AvalonEdit-5.0.1/,+1d' HeuristicLab.ExtLibs.sln > tmp |
---|
[9702] | 19 | mv tmp HeuristicLab.ExtLibs.sln |
---|
| 20 | else |
---|
| 21 | echo "Unsupported operating system, compiling HeuristicLab may not work!" |
---|
| 22 | fi |
---|
| 23 | |
---|
| 24 | |
---|
[8654] | 25 | # switch to MultiDocument MainForm type as Docking doesn't properly work on Linux |
---|
| 26 | sed "s/DockingMainForm/MultipleDocumentMainForm/g" HeuristicLab.Optimizer/3.3/Properties/Settings.settings > tmp |
---|
| 27 | mv tmp HeuristicLab.Optimizer/3.3/Properties/Settings.settings |
---|
| 28 | |
---|
| 29 | sed "s/DockingMainForm/MultipleDocumentMainForm/g" HeuristicLab.Optimizer/3.3/Properties/Settings.Designer.cs > tmp |
---|
| 30 | mv tmp HeuristicLab.Optimizer/3.3/Properties/Settings.Designer.cs |
---|
Note: See
TracBrowser
for help on using the repository browser.