Skip to content

Commit aed2a8c

Browse files
committed
Format and white-space project files
1 parent 1b08108 commit aed2a8c

File tree

5 files changed

+52
-44
lines changed

5 files changed

+52
-44
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ static void Main(string[] args)
5454
```
5555
outputs:
5656
```
57-
1.0
57+
1.0
5858
-0.958924274663
5959
-0.6752620892
6060
float64

src/clrmodule/clrmodule.csproj

+11-7
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
</PropertyGroup>
4141
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseMono|x86'">
4242
<OutputPath>bin\x86\ReleaseMono\</OutputPath>
43-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
43+
<DefineConstants Condition="'$(DefineConstants)' == ''">
44+
</DefineConstants>
4445
<Optimize>true</Optimize>
4546
<DebugType>pdbonly</DebugType>
4647
<PlatformTarget>x86</PlatformTarget>
@@ -51,7 +52,8 @@
5152
</PropertyGroup>
5253
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseMono|x64'">
5354
<OutputPath>bin\x64\ReleaseMono\</OutputPath>
54-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
55+
<DefineConstants Condition="'$(DefineConstants)' == ''">
56+
</DefineConstants>
5557
<Optimize>true</Optimize>
5658
<DebugType>pdbonly</DebugType>
5759
<PlatformTarget>x64</PlatformTarget>
@@ -84,7 +86,8 @@
8486
</PropertyGroup>
8587
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseWin|x86'">
8688
<OutputPath>bin\x86\ReleaseWin\</OutputPath>
87-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
89+
<DefineConstants Condition="'$(DefineConstants)' == ''">
90+
</DefineConstants>
8891
<Optimize>true</Optimize>
8992
<DebugType>pdbonly</DebugType>
9093
<PlatformTarget>x86</PlatformTarget>
@@ -95,7 +98,8 @@
9598
</PropertyGroup>
9699
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseWin|x64'">
97100
<OutputPath>bin\x64\ReleaseWin\</OutputPath>
98-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
101+
<DefineConstants Condition="'$(DefineConstants)' == ''">
102+
</DefineConstants>
99103
<Optimize>true</Optimize>
100104
<DebugType>pdbonly</DebugType>
101105
<PlatformTarget>x64</PlatformTarget>
@@ -124,8 +128,8 @@
124128
<TargetAssemblyPdb>$(TargetDir)$(TargetName).pdb</TargetAssemblyPdb>
125129
</PropertyGroup>
126130
<Target Name="AfterBuild" DependsOnTargets="RGieseckeDllExport">
127-
<Copy SourceFiles="$(TargetAssembly)" DestinationFiles="$(PythonBuildDir)\clr.pyd" />
128-
<Copy SourceFiles="$(TargetAssemblyPdb)" Condition="Exists('$(TargetAssemblyPdb)')" DestinationFiles="$(PythonBuildDir)\clr.pdb" />
131+
<Copy SourceFiles="$(TargetAssembly)" DestinationFiles="$(PythonBuildDir)\clr.pyd" />
132+
<Copy SourceFiles="$(TargetAssemblyPdb)" Condition="Exists('$(TargetAssemblyPdb)')" DestinationFiles="$(PythonBuildDir)\clr.pdb" />
129133
</Target>
130134
<Import Project="../../packages/UnmanagedExports.1.2.6/tools/RGiesecke.DllExport.targets" Condition="Exists('../../packages/UnmanagedExports.1.2.6/tools/RGiesecke.DllExport.targets')" />
131-
</Project>
135+
</Project>

src/console/Console.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<ProductVersion>10.0.0</ProductVersion>
1919
<SchemaVersion>2.0</SchemaVersion>
2020
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
21-
<PythonBuildDir Condition=" '$(PythonBuildDir)' == '' ">$(SolutionDir)</PythonBuildDir>
21+
<PythonBuildDir Condition=" '$(PythonBuildDir)' == '' ">$(SolutionDir)</PythonBuildDir>
2222
</PropertyGroup>
2323
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2424
<DebugSymbols>True</DebugSymbols>
@@ -213,6 +213,6 @@
213213
<VisualStudio AllowExistingFolder="true" />
214214
</ProjectExtensions>
215215
<Target Name="AfterBuild">
216-
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(PythonBuildDir)" />
216+
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(PythonBuildDir)" />
217217
</Target>
218218
</Project>

src/embed_tests/Python.EmbeddingTest.csproj

+12-8
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@
5959
</PropertyGroup>
6060
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseMono|x86'">
6161
<OutputPath>bin\x86\ReleaseMono\</OutputPath>
62-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
62+
<DefineConstants Condition="'$(DefineConstants)' == ''">
63+
</DefineConstants>
6364
<Optimize>true</Optimize>
6465
<DebugType>pdbonly</DebugType>
6566
<PlatformTarget>x86</PlatformTarget>
@@ -70,7 +71,8 @@
7071
</PropertyGroup>
7172
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseMono|x64'">
7273
<OutputPath>bin\x64\ReleaseMono\</OutputPath>
73-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
74+
<DefineConstants Condition="'$(DefineConstants)' == ''">
75+
</DefineConstants>
7476
<Optimize>true</Optimize>
7577
<DebugType>pdbonly</DebugType>
7678
<PlatformTarget>x64</PlatformTarget>
@@ -89,7 +91,7 @@
8991
<CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
9092
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
9193
<CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules>
92-
</PropertyGroup>
94+
</PropertyGroup>
9395
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugWin|x64'">
9496
<DebugSymbols>true</DebugSymbols>
9597
<OutputPath>bin\x64\DebugWin\</OutputPath>
@@ -103,7 +105,8 @@
103105
</PropertyGroup>
104106
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseWin|x86'">
105107
<OutputPath>bin\x86\ReleaseWin\</OutputPath>
106-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
108+
<DefineConstants Condition="'$(DefineConstants)' == ''">
109+
</DefineConstants>
107110
<Optimize>true</Optimize>
108111
<DebugType>pdbonly</DebugType>
109112
<PlatformTarget>x86</PlatformTarget>
@@ -114,7 +117,8 @@
114117
</PropertyGroup>
115118
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseWin|x64'">
116119
<OutputPath>bin\x64\ReleaseWin\</OutputPath>
117-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
120+
<DefineConstants Condition="'$(DefineConstants)' == ''">
121+
</DefineConstants>
118122
<Optimize>true</Optimize>
119123
<DebugType>pdbonly</DebugType>
120124
<PlatformTarget>x64</PlatformTarget>
@@ -177,7 +181,7 @@
177181
<TargetAssemblyPdb>$(TargetDir)$(TargetName).pdb</TargetAssemblyPdb>
178182
</PropertyGroup>
179183
<Target Name="AfterBuild">
180-
<Copy SourceFiles="$(TargetAssembly)" DestinationFolder="$(PythonBuildDir)" />
181-
<Copy SourceFiles="$(TargetAssemblyPdb)" Condition="Exists('$(TargetAssemblyPdb)')" DestinationFolder="$(PythonBuildDir)" />
184+
<Copy SourceFiles="$(TargetAssembly)" DestinationFolder="$(PythonBuildDir)" />
185+
<Copy SourceFiles="$(TargetAssemblyPdb)" Condition="Exists('$(TargetAssemblyPdb)')" DestinationFolder="$(PythonBuildDir)" />
182186
</Target>
183-
</Project>
187+
</Project>

src/runtime/Python.Runtime.csproj

+26-26
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AssemblyName>Python.Runtime</AssemblyName>
1010
<RootNamespace>Python.Runtime</RootNamespace>
1111
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
12-
<PythonBuildDir Condition=" '$(PythonBuildDir)' == '' ">$(SolutionDir)</PythonBuildDir>
12+
<PythonBuildDir Condition=" '$(PythonBuildDir)' == '' ">$(SolutionDir)</PythonBuildDir>
1313
</PropertyGroup>
1414
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseMono|x86'">
1515
<OutputPath>bin\x86\ReleaseMono\</OutputPath>
@@ -94,27 +94,27 @@
9494
<DebugType>full</DebugType>
9595
<PlatformTarget>x64</PlatformTarget>
9696
</PropertyGroup>
97-
<Choose>
98-
<When Condition=" '$(Configuration)'=='DebugMono' ">
99-
<ItemGroup>
100-
<Reference Include="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
101-
<SpecificVersion>False</SpecificVersion>
102-
<HintPath>..\..\packages\MonoGAC\Mono.Posix\4.0.0.0__0738eb9f132ed756\Mono.Posix.dll</HintPath>
103-
</Reference>
104-
</ItemGroup>
105-
</When>
106-
<When Condition=" '$(Configuration)'=='ReleaseMono' ">
107-
<ItemGroup>
108-
<Reference Include="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
109-
<SpecificVersion>False</SpecificVersion>
110-
<HintPath>..\..\packages\MonoGAC\Mono.Posix\4.0.0.0__0738eb9f132ed756\Mono.Posix.dll</HintPath>
111-
</Reference>
112-
</ItemGroup>
113-
</When>
114-
</Choose>
115-
<ItemGroup>
116-
<Reference Include="System" />
117-
</ItemGroup>
97+
<Choose>
98+
<When Condition=" '$(Configuration)'=='DebugMono' ">
99+
<ItemGroup>
100+
<Reference Include="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
101+
<SpecificVersion>False</SpecificVersion>
102+
<HintPath>..\..\packages\MonoGAC\Mono.Posix\4.0.0.0__0738eb9f132ed756\Mono.Posix.dll</HintPath>
103+
</Reference>
104+
</ItemGroup>
105+
</When>
106+
<When Condition=" '$(Configuration)'=='ReleaseMono' ">
107+
<ItemGroup>
108+
<Reference Include="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
109+
<SpecificVersion>False</SpecificVersion>
110+
<HintPath>..\..\packages\MonoGAC\Mono.Posix\4.0.0.0__0738eb9f132ed756\Mono.Posix.dll</HintPath>
111+
</Reference>
112+
</ItemGroup>
113+
</When>
114+
</Choose>
115+
<ItemGroup>
116+
<Reference Include="System" />
117+
</ItemGroup>
118118
<ItemGroup>
119119
<Compile Include="arrayobject.cs" />
120120
<Compile Include="assemblyinfo.cs" />
@@ -194,7 +194,7 @@
194194
</ItemGroup>
195195
<ItemGroup>
196196
<EmbeddedResource Include="resources\clr.py">
197-
<LogicalName>clr.py</LogicalName>
197+
<LogicalName>clr.py</LogicalName>
198198
</EmbeddedResource>
199199
</ItemGroup>
200200
<Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
@@ -206,7 +206,7 @@
206206
<TargetAssemblyPdb>$(TargetDir)$(TargetName).pdb</TargetAssemblyPdb>
207207
</PropertyGroup>
208208
<Target Name="AfterBuild">
209-
<Copy SourceFiles="$(TargetAssembly)" DestinationFolder="$(PythonBuildDir)" />
210-
<Copy SourceFiles="$(TargetAssemblyPdb)" Condition="Exists('$(TargetAssemblyPdb)')" DestinationFolder="$(PythonBuildDir)" />
209+
<Copy SourceFiles="$(TargetAssembly)" DestinationFolder="$(PythonBuildDir)" />
210+
<Copy SourceFiles="$(TargetAssemblyPdb)" Condition="Exists('$(TargetAssemblyPdb)')" DestinationFolder="$(PythonBuildDir)" />
211211
</Target>
212-
</Project>
212+
</Project>

0 commit comments

Comments
 (0)