Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
532b9888
R
roslyn
项目概览
lwm1986
/
roslyn
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
roslyn
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
532b9888
编写于
10月 07, 2015
作者:
A
Andy Gocke
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
First attempt at a netcore compilers NuGet package
上级
d254964e
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
106 addition
and
0 deletion
+106
-0
build/BuildNuGets.csx
build/BuildNuGets.csx
+43
-0
src/NuGet/Microsoft.Net.Compilers.netcore.nuspec
src/NuGet/Microsoft.Net.Compilers.netcore.nuspec
+63
-0
未找到文件。
build/BuildNuGets.csx
0 → 100644
浏览文件 @
532b9888
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
string usage = @"usage: BuildNuGets.csx <binaries-dir> <build-version>";
if (Args.Length != 2)
{
Console.WriteLine(usage);
Environment.Exit(1);
}
var binDir = Path.GetFullPath(Args[0]);
var buildVersion = Args[1].Trim();
var nuspecDirPath = Path.GetFullPath("../../src/NuGet");
var licenseUrl = @"http://go.microsoft.com/fwlink/?LinkId=529443";
var authors = @"Microsoft";
var projectURL = @"http://msdn.com/roslyn";
var tags = @"Roslyn CodeAnalysis Compiler CSharp VB VisualBasic Parser Scanner Lexer Emit CodeGeneration Metadata IL Compilation Scripting Syntax Semantics";
var files = Directory.GetFiles(nuspecDirPath, "*.nuspec");
var procs = new List<Process>(files.Length);
foreach (var file in files)
{
var nugetArgs = $@"pack {file} " +
$@"-BasePath ""{binDir}"" " +
"-ExcludeEmptyDirectories " +
$@"-prop licenseUrl=""{licenseUrl}"" " +
$@"-prop version=""{buildVersion}"" " +
$"-prop authors={authors} " +
$@"-prop projectURL=""{projectURL}"" " +
$@"-prop tags=""{tags}""";
Console.WriteLine(nugetArgs);
var p = Process.Start(Path.GetFullPath("../../nuget.exe"), nugetArgs);
}
foreach (var p in procs)
{
p.WaitForExit();
}
src/NuGet/Microsoft.Net.Compilers.netcore.nuspec
0 → 100644
浏览文件 @
532b9888
<?xml version="1.0"?>
<package
xmlns=
"http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"
>
<metadata>
<id>
Microsoft.Net.Compilers.netcore
</id>
<description>
CoreCLR-compatible versions of the C# and VB compilers.
Supported Platforms:
- .NET Core (dnxcore50)
</description>
<language>
en-US
</language>
<requireLicenseAcceptance>
true
</requireLicenseAcceptance>
<version>
$version$
</version>
<authors>
$authors$
</authors>
<licenseUrl>
$licenseUrl$
</licenseUrl>
<projectUrl>
$projectUrl$
</projectUrl>
<tags>
$tags$
</tags>
<dependencies>
<group>
<dependency
id=
"System.AppContext"
version=
"4.0.1-beta-23401"
/>
<dependency
id=
"System.Collections"
version=
"4.0.11-beta-23401"
/>
<dependency
id=
"System.Collections.Immutable"
version=
"1.1.36"
/>
<dependency
id=
"System.Console"
version=
"4.0.0-beta-23401"
/>
<dependency
id=
"System.Diagnostics.Debug"
version=
"4.0.11-beta-23401"
/>
<dependency
id=
"System.Diagnostics.FileVersionInfo"
version=
"4.0.0-beta-23401"
/>
<dependency
id=
"System.Diagnostics.Process"
version=
"4.1.0-beta-23401"
/>
<dependency
id=
"System.Diagnostics.Tools"
version=
"4.0.1-beta-23401"
/>
<dependency
id=
"System.Dynamic.Runtime"
version=
"4.0.11-beta-23401"
/>
<dependency
id=
"System.IO.FileSystem"
version=
"4.0.1-beta-23401"
/>
<dependency
id=
"System.IO.Pipes"
version=
"4.0.0-beta-23401"
/>
<dependency
id=
"System.Linq"
version=
"4.0.1-beta-23401"
/>
<dependency
id=
"System.Private.Uri"
version=
"4.0.1-beta-23401"
/>
<dependency
id=
"System.Reflection"
version=
"4.1.0-beta-23401"
/>
<dependency
id=
"System.Reflection.Metadata"
version=
"1.1.0-alpha-00014"
/>
<dependency
id=
"System.Reflection.Primitives"
version=
"4.0.1-beta-23401"
/>
<dependency
id=
"System.Resources.ResourceManager"
version=
"4.0.1-beta-23401"
/>
<dependency
id=
"System.Runtime"
version=
"4.0.21-beta-23401"
/>
<dependency
id=
"System.Runtime.Extensions"
version=
"4.0.11-beta-23401"
/>
<dependency
id=
"System.Runtime.Handles"
version=
"4.0.1-beta-23401"
/>
<dependency
id=
"System.Runtime.InteropServices"
version=
"4.0.21-beta-23401"
/>
<dependency
id=
"System.Runtime.Loader"
version=
"4.0.0-beta-23401"
/>
<dependency
id=
"System.Runtime.Serialization.Json"
version=
"4.0.1-beta-23401"
/>
<dependency
id=
"System.Security.Cryptography.Algorithms"
version=
"4.0.0-beta-23401"
/>
<dependency
id=
"System.Text.Encoding"
version=
"4.0.11-beta-23401"
/>
<dependency
id=
"System.Text.Encoding.CodePages"
version=
"4.0.1-beta-23401"
/>
<dependency
id=
"System.Text.Encoding.Extensions"
version=
"4.0.11-beta-23401"
/>
<dependency
id=
"System.Threading"
version=
"4.0.11-beta-23401"
/>
<dependency
id=
"System.Threading.Tasks"
version=
"4.0.11-beta-23401"
/>
<dependency
id=
"System.Threading.Tasks.Parallel"
version=
"4.0.1-beta-23401"
/>
<dependency
id=
"System.Threading.Thread"
version=
"4.0.0-beta-23401"
/>
<dependency
id=
"System.Xml.XDocument"
version=
"4.0.11-beta-23401"
/>
<dependency
id=
"System.Xml.XmlDocument"
version=
"4.0.1-beta-23401"
/>
</group>
</dependencies>
</metadata>
<files>
<file
src=
"Microsoft.CodeAnalysis.dll"
target=
"runtimes/any/lib/dotnet"
/>
<file
src=
"Microsoft.CodeAnalysis.CSharp.dll"
target=
"runtimes/any/lib/dotnet"
/>
<file
src=
"Microsoft.CodeAnalysis.VisualBasic.dll"
target=
"runtimes/any/lib/dotnet"
/>
<file
src=
"csc.exe"
target=
"runtimes/any/native"
/>
<file
src=
"vbc.exe"
target=
"runtimes/any/native"
/>
</files>
</package>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录