Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
dotNET Platform
fsharp
提交
07774cb8
F
fsharp
项目概览
dotNET Platform
/
fsharp
11 个月 前同步成功
通知
0
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
fsharp
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
07774cb8
编写于
6月 07, 2017
作者:
K
Kevin Ransom (msft)
提交者:
GitHub
6月 07, 2017
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
clean up fsharp.core nuget usage (#3190)
上级
d12aad70
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
24 addition
and
41 deletion
+24
-41
.nuget/NuGet.Config
.nuget/NuGet.Config
+2
-1
src/fsharp/FSharp.Core.Unittests/FSharp.Core.Unittests.fsproj
...fsharp/FSharp.Core.Unittests/FSharp.Core.Unittests.fsproj
+6
-4
src/fsharp/FSharp.Core.Unittests/project.json
src/fsharp/FSharp.Core.Unittests/project.json
+0
-1
src/fsharp/FSharp.Core.nuget/FSharp.Core.nuget.proj
src/fsharp/FSharp.Core.nuget/FSharp.Core.nuget.proj
+8
-5
src/fsharp/FSharp.Core/FSharp.Core.fsproj
src/fsharp/FSharp.Core/FSharp.Core.fsproj
+3
-27
tests/fsharp/FSharp.Tests.FSharpSuite.DrivingCoreCLR/FSharp.Tests.FSharpSuite.DrivingCoreCLR.fsproj
...ingCoreCLR/FSharp.Tests.FSharpSuite.DrivingCoreCLR.fsproj
+2
-0
tests/fsharp/FSharp.Tests.FSharpSuite.DrivingCoreCLR/project.json
...harp/FSharp.Tests.FSharpSuite.DrivingCoreCLR/project.json
+3
-3
未找到文件。
.nuget/NuGet.Config
浏览文件 @
07774cb8
...
...
@@ -7,6 +7,8 @@
<
packageSources
>
<!--
To
inherit
the
global
NuGet
package
sources
remove
the
<
clear
/>
line
below
-->
<
clear
/>
<
add
key
=
"artifacts"
value
=
"../artifacts"
/>
<
add
key
=
"artifacts"
value
=
"../artifacts/4.2"
/>
<
add
key
=
"myget.org fsharp-daily"
value
=
"https://www.myget.org/F/fsharp-daily/api/v3/index.json"
/>
<
add
key
=
"myget.org roslyn-master-nightly"
value
=
"https://dotnet.myget.org/F/roslyn-master-nightly/api/v3/index.json"
/>
<
add
key
=
"dotnet-core"
value
=
"https://dotnet.myget.org/F/dotnet-core/api/v3/index.json"
/>
...
...
@@ -15,7 +17,6 @@
<
add
key
=
"api.nuget.org"
value
=
"https://api.nuget.org/v3/index.json"
/>
<
add
key
=
"myget.org roslyn tools"
value
=
"https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json"
/>
<
add
key
=
"myget.org roslyn"
value
=
"https://dotnet.myget.org/F/roslyn/api/v3/index.json"
/>
<
add
key
=
"artifacts"
value
=
"../artifacts"
/>
</
packageSources
>
</
configuration
>
src/fsharp/FSharp.Core.Unittests/FSharp.Core.Unittests.fsproj
浏览文件 @
07774cb8
...
...
@@ -54,16 +54,18 @@
<HintPath
Condition=
"'$(TargetDotnetProfile)' == 'portable78'"
>
$(FsCheckLibDir)\portable-net45+netcore45+wp8\FsCheck.dll
</HintPath>
<HintPath
Condition=
"'$(TargetDotnetProfile)' == 'portable259'"
>
$(FsCheckLibDir)\portable-net45+netcore45+wpa81+wp8\FsCheck.dll
</HintPath>
</Reference>
<ProjectReference
Include=
"$(FSharpSourcesRoot)\fsharp\FSharp.Core\FSharp.Core.fsproj"
>
<Project>
{DED3BBD7-53F4-428A-8C9F-27968E768605}
</Project>
<Name>
FSharp.Core
</Name>
</ProjectReference>
<Reference
Include=
"System.ValueTuple"
>
<HintPath
Condition=
" '$(TargetDotnetProfile)' == 'profile47' "
>
..\..\..\packages\System.ValueTuple.4.3.1\lib\netstandard1.0\System.ValueTuple.dll
</HintPath>
<HintPath
Condition=
" '$(TargetDotnetProfile)' != 'profile47' "
>
..\..\..\packages\System.ValueTuple.4.3.1\lib\portable-net40+sl4+win8+wp8\System.ValueTuple.dll
</HintPath>
<Private>
True
</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"$(FSharpSourcesRoot)\fsharp\FSharp.Core\FSharp.Core.fsproj"
>
<Project>
{DED3BBD7-53F4-428A-8C9F-27968E768605}
</Project>
<Name>
FSharp.Core
</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup
Condition=
"(!$(TargetDotnetProfile.Contains('portable'))) and '$(TargetDotnetProfile)' != 'coreclr'"
>
<Reference
Include=
"mscorlib"
/>
<Reference
Include=
"System"
/>
...
...
src/fsharp/FSharp.Core.Unittests/project.json
浏览文件 @
07774cb8
...
...
@@ -8,7 +8,6 @@
"dependencies"
:
{
"nunit"
:
"3.5.0"
,
"nunitlite"
:
"3.5.0"
,
"FSharp.Core.netcore"
:
"1.0.0-rc-*"
,
"System.ValueTuple"
:
"4.3.1"
,
"FsCheck"
:
"2.6.2"
,
"Microsoft.FSharp.TupleSample"
:
"1.0.0-alpha-161112"
...
...
src/fsharp/FSharp.Core.nuget/FSharp.Core.nuget.proj
浏览文件 @
07774cb8
...
...
@@ -38,19 +38,22 @@
DependsOnTargets="CreateOrUpdateBuildVersionFile"
AfterTargets="Build"
Inputs="@(PackageNuspec)"
Outputs='$(FSharpSourcesRoot)\$(Configuration)\artifacts\$(PackageVersion)\"%(PackageNuspec.Filename)).nupkg'>
Outputs='$(FSharpSourcesRoot)\$(Configuration)\artifacts\$(Package
Major
Version)\"%(PackageNuspec.Filename)).nupkg'>
<PropertyGroup>
<PackageVersion>X.X.XXX</PackageVersion>
<PackageVersion Condition="'@(PackageNuspec)' == 'FSharp.Core.4.1.xxx.nuspec'">$(FSharpCore41Version)</PackageVersion>
<PackageMajorVersion Condition="'@(PackageNuspec)' == 'FSharp.Core.4.1.xxx.nuspec'">4.1</PackageMajorVersion>
<PackageVersion Condition="'@(PackageNuspec)' == 'FSharp.Core.4.2.xxx.nuspec'">$(FSharpCore42Version)</PackageVersion>
<PackageMajorVersion Condition="'@(PackageNuspec)' == 'FSharp.Core.4.2.xxx.nuspec'">4.2</PackageMajorVersion>
<PackageProperties>-prop "licenseUrl=$(PackageLicenceUrl)" -prop "version=$(PackageVersion)" -prop "authors=$(PackageAuthors)" -prop "projectUrl=$(PackageProjectUrl)" -prop "tags=$(PackageTags)"</PackageProperties>
</PropertyGroup>
<MakeDir Directories="$(FSharpSourcesRoot)\..\artifacts\$(PackageVersion)" />
<MakeDir Directories="$(FSharpSourcesRoot)\..\$(Configuration)\artifacts\$(PackageVersion)" />
<Exec Command='$(FSharpSourcesRoot)\..\.nuget\nuget.exe pack @(PackageNuspec) -BasePath $(FSharpSourcesRoot)\..\$(Configuration) -ExcludeEmptyDirectories $(PackageProperties) -OutputDirectory $(FSharpSourcesRoot)\..\artifacts\$(PackageVersion)' />
<Exec Command='$(FSharpSourcesRoot)\..\.nuget\nuget.exe pack @(PackageNuspec) -BasePath $(FSharpSourcesRoot)\..\$(Configuration) -ExcludeEmptyDirectories $(PackageProperties) -OutputDirectory $(FSharpSourcesRoot)\..\$(Configuration)\artifacts\$(PackageVersion)' />
<MakeDir Directories="$(FSharpSourcesRoot)\..\artifacts\$(PackageMajorVersion)" />
<MakeDir Directories="$(FSharpSourcesRoot)\..\$(Configuration)\artifacts\$(PackageMajorVersion)" />
<Exec Command='$(FSharpSourcesRoot)\..\.nuget\nuget.exe pack @(PackageNuspec) -BasePath $(FSharpSourcesRoot)\..\$(Configuration) -ExcludeEmptyDirectories $(PackageProperties) -OutputDirectory $(FSharpSourcesRoot)\..\artifacts\$(PackageMajorVersion)' />
<Exec Command='$(FSharpSourcesRoot)\..\.nuget\nuget.exe pack @(PackageNuspec) -BasePath $(FSharpSourcesRoot)\..\$(Configuration) -ExcludeEmptyDirectories $(PackageProperties) -OutputDirectory $(FSharpSourcesRoot)\..\$(Configuration)\artifacts\$(PackageMajorVersion)' />
</Target>
</Project>
src/fsharp/FSharp.Core/FSharp.Core.fsproj
浏览文件 @
07774cb8
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
<Project
ToolsVersion=
"4.0"
DefaultTargets=
"Build"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<PropertyGroup>
<FSharpSourcesRoot>
$(MSBuildProjectDirectory)\..\..
</FSharpSourcesRoot>
<ProjectLanguage>
FSharp
</ProjectLanguage>
</PropertyGroup>
<Import
Project=
"$(FSharpSourcesRoot)\FSharpSource.Settings.targets"
/>
<PropertyGroup>
<Platform
Condition=
" '$(Platform)' == '' "
>
AnyCPU
</Platform>
<ProjectGuid>
{DED3BBD7-53F4-428A-8C9F-27968E768605}
</ProjectGuid>
...
...
@@ -25,17 +28,6 @@
<OtherFlags
Condition=
" '$(TargetDotnetProfile)'=='portable259'"
>
$(OtherFlags) --compiling-fslib-40 --compiling-fslib-nobigint
</OtherFlags>
</PropertyGroup>
<!-- Nuget packaging configuration -->
<ItemGroup>
<PackageNuspec
Include=
"FSharp.Core.netcore.nuspec"
Condition=
"'$(TargetDotnetProfile)' == 'coreclr'"
/>
<None
Include=
"FSharp.Core.runtimeconfig.json"
Condition=
"'$(TargetDotnetProfile)' == 'coreclr'"
><CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory></None>
</ItemGroup>
<PropertyGroup>
<PackageVersion
Condition=
"'$(PreReleaseLabel)' == ''"
>
$(NuGeReleaseVersion)
</PackageVersion>
<PackageVersion
Condition=
"'$(PackageVersionMinor)' != ''"
>
$(PackageVersionMajor)-$(PackageVersionMinor)
</PackageVersion>
<PackageVersion
Condition=
"'$(PackageVersionMinor)' == ''"
>
$(NuGetPerBuildPreReleaseVersion)-0
</PackageVersion>
</PropertyGroup>
<ItemGroup>
<FilesToLocalize
Include=
"$(OutDir)$(AssemblyName).dll"
>
<TranslationFile>
$(FSharpSourcesRoot)\..\loc\lcl\{Lang}\$(AssemblyName).dll.lcl
</TranslationFile>
...
...
@@ -283,20 +275,4 @@
</ItemGroup>
</Target>
<Target
Name=
"nugetpack"
DependsOnTargets=
"CreateOrUpdateBuildVersionFile"
AfterTargets=
"Build"
Condition=
"'$(TargetDotnetProfile)' == 'coreclr' "
Inputs=
"@(PackageNuspec)"
Outputs=
'$(FSharpSourcesRoot)\..\$(Configuration)\artifacts\"%(PackageNuspec.Filename)).nupkg'
>
<PropertyGroup>
<PackageProperties>
-prop "licenseUrl=$(PackageLicenceUrl)" -prop "version=$(PackageVersion)" -prop "authors=$(PackageAuthors)" -prop "projectUrl=$(PackageProjectUrl)" -prop "tags=$(PackageTags)"
</PackageProperties>
</PropertyGroup>
<MakeDir
Directories=
"$(FSharpSourcesRoot)\..\artifacts"
/>
<SetEnvVar
Name=
"NUGET_PACKAGES"
Value=
"$(NUGET_PACKAGES)"
/>
<Exec
Command=
'$(FSharpSourcesRoot)\..\.nuget\nuget.exe pack @(PackageNuspec) -BasePath $(OutputPath.TrimEnd("\")) -ExcludeEmptyDirectories $(PackageProperties) -OutputDirectory $(FSharpSourcesRoot)\..\artifacts'
/>
</Target>
</Project>
tests/fsharp/FSharp.Tests.FSharpSuite.DrivingCoreCLR/FSharp.Tests.FSharpSuite.DrivingCoreCLR.fsproj
浏览文件 @
07774cb8
...
...
@@ -49,6 +49,8 @@
<Project>
{2E4D67B4-522D-4CF7-97E4-BA940F0B18F3}
</Project>
<Name>
FSharp.Compiler.Private
</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"$(FSharpSourcesRoot)\fsharp\FSharp.Core\FSharp.Core.fsproj"
>
<Project>
{DED3BBD7-53F4-428A-8C9F-27968E768605}
</Project>
<Name>
FSharp.Core
</Name>
...
...
tests/fsharp/FSharp.Tests.FSharpSuite.DrivingCoreCLR/project.json
浏览文件 @
07774cb8
...
...
@@ -6,10 +6,10 @@
"emitEntryPoint"
:
true
},
"dependencies"
:
{
"NETStandard.Library"
:
"1.6.1"
,
"FSharp.Core"
:
"4.2.*"
,
"nunit"
:
"3.5.0"
,
"nunitlite"
:
"3.5.0"
,
"FSharp.Core.netcore"
:
"1.0.0-rc-*"
,
"System.Runtime"
:
"4.3.0"
"nunitlite"
:
"3.5.0"
},
"runtimes"
:
{
"win7-x86"
:
{},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录