Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
dotNET Platform
fsharp
提交
6b9cf563
F
fsharp
项目概览
dotNET Platform
/
fsharp
12 个月 前同步成功
通知
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,发现更多精彩内容 >>
提交
6b9cf563
编写于
4月 09, 2016
作者:
D
Don Syme
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
don't build coreclr by default
上级
f58fb3a3
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
31 addition
and
21 deletion
+31
-21
build.cmd
build.cmd
+31
-21
未找到文件。
build.cmd
浏览文件 @
6b9cf563
...
...
@@ -28,7 +28,7 @@ exit /b 1
set
BUILD_PROTO
=
0
set
BUILD_NET40
=
1
set
BUILD_CORECLR
=
1
set
BUILD_CORECLR
=
0
set
BUILD_PORTABLE
=
0
set
BUILD_VS
=
0
set
BUILD_FSHARP_DATA_TYPEPROVIDERS
=
0
...
...
@@ -90,6 +90,7 @@ if /i '%ARG%' == 'all' (
REM Same as 'all' but smoke testing only
if
/i
'
%ARG%
'
==
'ci'
(
set
SKIP_EXPENSIVE_TESTS
=
1
set
BUILD_CORECLR
=
1
set
BUILD_PORTABLE
=
1
set
BUILD_VS
=
1
set
BUILD_FSHARP_DATA_TYPEPROVIDERS
=
1
...
...
@@ -108,6 +109,7 @@ REM These divide 'ci' into three chunks which can be done in parallel
if
/i
'
%ARG%
'
==
'ci_part1'
(
set
SKIP_EXPENSIVE_TESTS
=
1
set
BUILD_CORECLR
=
1
set
BUILD_PORTABLE
=
1
set
BUILD_VS
=
1
set
BUILD_FSHARP_DATA_TYPEPROVIDERS
=
1
...
...
@@ -139,6 +141,12 @@ if /i '%ARG%' == 'smoke' (
set
TEST_TAGS
=
Smoke
)
if
/i
'
%ARG%
'
==
'coreclr'
(
REM Smoke tests are a very small quick subset of tests
set
BUILD_CORECLR
=
1
)
if
/i
'
%ARG%
'
==
'debug'
(
set
BUILD_CONFIG
=
Debug
set
BUILD_CONFIG_LOWERCASE
=
debug
...
...
@@ -218,11 +226,12 @@ if '%RestorePackages%' == 'true' (
@if
ERRORLEVEL
1
echo
Error
:
Nuget
restore
failed
&&
goto
:failure
)
set
DOTNET_HOME
.\packages\dotnet
rem check to see if the dotnet cli tool exists
set
DOTNET_HOME
=
.\packages\dotnet
set
_dotnetexe
=
.\packages\dotnet\dotnet.exe
if
not
exist
%_dotnetexe%
(
if
'
%BUILD_CORECLR%
'
==
'1'
(
rem check to see if the dotnet cli tool exists
if
not
exist
%_dotnetexe%
(
echo
Error
:
Could
not
find
%_dotnetexe%
.
rem do zipfile install nonsense
if
not
exist
packages
(
md
packages
)
...
...
@@ -230,25 +239,26 @@ if not exist %_dotnetexe% (
powershell
.exe
-executionpolicy
unrestricted
-command
.\scripts\install
-dotnetcli
.ps1
https
://dotnetcli.blob.core.windows.net/dotnet/beta/Binaries/Latest/dotnet
-dev-win-x
64
.latest.zip
packages
@if
ERRORLEVEL
1
echo
Error
:
fetch
dotnetcli
failed
&&
goto
:failure
popd
)
pushd
.\lkg
&
..\
%_dotnetexe%
restore
&
popd
@if
ERRORLEVEL
1
echo
Error
:
dotnet
restore
failed
&&
goto
:failure
pushd
.\lkg
&
..\
%_dotnetexe%
publish
project
.json
&
popd
@if
ERRORLEVEL
1
echo
Error
:
dotnet
publish
failed
&&
goto
:failure
rem rename fsc and coreconsole to allow fsc.exe to to start compiler
pushd
.\lkg\bin\Debug\dnxcore50\win7
-x
64
\publish
ren
fsc
.exe
fsc
.dll
copy
corehost
.exe
fsc
.exe
popd
rem rename fsi and coreconsole to allow fsi.exe to to start interative
pushd
.\lkg\bin\Debug\dnxcore50\win7
-x
64
\publish
ren
fsi
.exe
fsi
.dll
copy
corehost
.exe
fsi
.exe
popd
)
pushd
.\lkg
&
..\
%_dotnetexe%
restore
&
popd
@if
ERRORLEVEL
1
echo
Error
:
dotnet
restore
failed
&&
goto
:failure
pushd
.\lkg
&
..\
%_dotnetexe%
publish
project
.json
&
popd
@if
ERRORLEVEL
1
echo
Error
:
dotnet
publish
failed
&&
goto
:failure
rem rename fsc and coreconsole to allow fsc.exe to to start compiler
pushd
.\lkg\bin\Debug\dnxcore50\win7
-x
64
\publish
ren
fsc
.exe
fsc
.dll
copy
corehost
.exe
fsc
.exe
popd
rem rename fsi and coreconsole to allow fsi.exe to to start interative
pushd
.\lkg\bin\Debug\dnxcore50\win7
-x
64
\publish
ren
fsi
.exe
fsi
.dll
copy
corehost
.exe
fsi
.exe
popd
:: Build Proto
if
NOT
EXIST
Proto
\net40\bin\fsc
-proto
.exe
(
set
BUILD_PROTO
=
1
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录