Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
Update bootstrap binaries and targets
Browse files Browse the repository at this point in the history
Update the bootstrap binaries and targets.
  • Loading branch information
funnelweb committed Oct 25, 2012
1 parent bc724cf commit 1c078c9
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 36 deletions.
Binary file modified lib/bootstrap/4.0/FSharp.Build.dll
Binary file not shown.
Binary file modified lib/bootstrap/4.0/FSharp.Compiler.Interactive.Settings.dll
Binary file not shown.
Binary file modified lib/bootstrap/4.0/FSharp.Compiler.Server.Shared.dll
Binary file not shown.
Binary file modified lib/bootstrap/4.0/FSharp.Compiler.dll
Binary file not shown.
Binary file modified lib/bootstrap/4.0/FSharp.Core.dll
Binary file not shown.
Binary file modified lib/bootstrap/4.0/FSharp.Core.optdata
Binary file not shown.
Binary file modified lib/bootstrap/4.0/FSharp.Core.sigdata
Binary file not shown.
64 changes: 28 additions & 36 deletions lib/bootstrap/4.0/Microsoft.FSharp.targets
Expand Up @@ -22,10 +22,6 @@ Copyright (C) Microsoft Corporation. All rights reserved.


<PropertyGroup>
<!-- FSharpTargetsDir is the directory where the targets file lives -->
<FSharpTargetsDir Condition="'$(FSharpTargetsDir)'==''">unused</FSharpTargetsDir>
<!-- FSharpTargetsFullPath is the full path (dir + filename) of the targets file -->
<FSharpTargetsFullPath Condition="'$(FSharpTargetsDir)'!=''">$(FSharpTargetsDir)\Microsoft.FSharp.targets</FSharpTargetsFullPath>
<MSBuildAllProjects>$(MSBuildAllProjects);$(FSharpTargetsFullPath)</MSBuildAllProjects>
<DefaultLanguageSourceExtension>.fs</DefaultLanguageSourceExtension>
<Language>F#</Language>
Expand Down Expand Up @@ -58,42 +54,37 @@ Copyright (C) Microsoft Corporation. All rights reserved.
<PropertyGroup>
<CreateManifestResourceNamesDependsOn></CreateManifestResourceNamesDependsOn>
</PropertyGroup>
<Target
Name="CreateManifestResourceNames"
Condition="'@(EmbeddedResource)' != ''"
DependsOnTargets="$(CreateManifestResourceNamesDependsOn)"
>

<ItemGroup>
<_Temporary Remove="@(_Temporary)" />
</ItemGroup>

<!-- Create manifest names for culture and non-culture Resx files, and for non-culture Non-Resx resources -->
<CreateFSharpManifestResourceName
ResourceFiles="@(EmbeddedResource)"
RootNamespace="$(RootNamespace)"
Condition="'%(EmbeddedResource.ManifestResourceName)' == '' and ('%(EmbeddedResource.WithCulture)' == 'false' or '%(EmbeddedResource.Type)' == 'Resx')">

<Output TaskParameter="ResourceFilesWithManifestResourceNames" ItemName="_Temporary" />

</CreateFSharpManifestResourceName>

<!-- Create manifest names for all culture non-resx resources -->
<CreateFSharpManifestResourceName
ResourceFiles="@(EmbeddedResource)"
RootNamespace="$(RootNamespace)"
PrependCultureAsDirectory="false"
Condition="'%(EmbeddedResource.ManifestResourceName)' == '' and '%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'">

<Output TaskParameter="ResourceFilesWithManifestResourceNames" ItemName="_Temporary" />

</CreateFSharpManifestResourceName>


<Target Name="CreateManifestResourceNames"
Condition="'@(EmbeddedResource)' != ''"
DependsOnTargets="$(CreateManifestResourceNamesDependsOn)">
<CreateFSharpManifestResourceName Condition="'@(ResxWithNoCulture)' != ''"
ResourceFiles="@(ResxWithNoCulture)" RootNamespace="$(RootNamespace)">
<Output TaskParameter = "ManifestResourceNames" ItemName = "ManifestResourceWithNoCultureName" />
</CreateFSharpManifestResourceName>

<CreateFSharpManifestResourceName Condition="'@(NonResxWithNoCulture)' != ''"
ResourceFiles="@(NonResxWithNoCulture)" RootNamespace="$(RootNamespace)">
<Output TaskParameter = "ManifestResourceNames" ItemName = "ManifestNonResxWithNoCulture" />
</CreateFSharpManifestResourceName>

<CreateFSharpManifestResourceName Condition="'@(ResxWithCulture)' != ''"
ResourceFiles="@(ResxWithCulture)" RootNamespace="$(RootNamespace)">
<Output TaskParameter = "ManifestResourceNames" ItemName = "ManifestResourceWithCultureName" />
</CreateFSharpManifestResourceName>

<CreateFSharpManifestResourceName Condition="'@(NonResxWithCulture)' != ''"
ResourceFiles="@(NonResxWithCulture)" RootNamespace="$(RootNamespace)">
<Output TaskParameter = "ManifestResourceNames" ItemName = "ManifestNonResxWithCulture" />
</CreateFSharpManifestResourceName>


<ItemGroup>
<EmbeddedResource Remove="@(EmbeddedResource)" Condition="'%(EmbeddedResource.ManifestResourceName)' == ''"/>
<EmbeddedResource Include="@(_Temporary)" />
<_Temporary Remove="@(_Temporary)" />
</ItemGroup>

</Target>

<ItemGroup>
Expand Down Expand Up @@ -167,7 +158,7 @@ Copyright (C) Microsoft Corporation. All rights reserved.
Platform="$(PlatformTarget)"
References="@(ReferencePath)"
ReferencePath="$(ReferencePath)"
Resources="@(_CoreCompileResourceInputs);@(CompiledLicenseFile);@(AdditionalEmbeddedResource)"
Resources="@(ManifestResourceWithNoCulture);@(ManifestNonResxWithNoCultureOnDisk);@(CompiledLicenseFile);@(AdditionalEmbeddedResource)"
Sources="@(CompileBefore);@(Compile);@(CompileAfter)"
Tailcalls="$(Tailcalls)"
TargetType="$(OutputType)"
Expand All @@ -194,3 +185,4 @@ Copyright (C) Microsoft Corporation. All rights reserved.

</Project>


Binary file modified lib/bootstrap/4.0/fsc.exe
Binary file not shown.
Binary file modified lib/bootstrap/4.0/fsi.exe
Binary file not shown.

0 comments on commit 1c078c9

Please sign in to comment.