Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
dotNET Platform
fsharp
提交
6b4888f6
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,发现更多精彩内容 >>
未验证
提交
6b4888f6
编写于
12月 02, 2022
作者:
V
Vlad Zarytovskii
提交者:
GitHub
12月 02, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Updated devcontainer, tasks (#14389)
上级
1fc23fbe
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
36 addition
and
6 deletion
+36
-6
.devcontainer/Dockerfile
.devcontainer/Dockerfile
+1
-1
.devcontainer/devcontainer.json
.devcontainer/devcontainer.json
+1
-1
.vscode/launch.json
.vscode/launch.json
+11
-2
.vscode/tasks.json
.vscode/tasks.json
+23
-2
未找到文件。
.devcontainer/Dockerfile
浏览文件 @
6b4888f6
...
...
@@ -3,7 +3,7 @@
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------
ARG
VARIANT=7.0
-bullseye-slim
ARG
VARIANT=7.0
.100-bullseye-slim-amd64
FROM
mcr.microsoft.com/dotnet/sdk:${VARIANT}
# Avoid warnings by switching to noninteractive
...
...
.devcontainer/devcontainer.json
浏览文件 @
6b4888f6
...
...
@@ -6,7 +6,7 @@
"args"
:
{
//
Update
'VARIANT'
to
pick
a
.NET
Core
version:
3.1
,
5.0
,
6.0
,
7.0
//
Append
-bullseye(-slim)
,
-focal
,
or
-jammy
to
pin
to
an
OS
version.
"VARIANT"
:
"7.0
-bullseye-slim
"
"VARIANT"
:
"7.0
.100-bullseye-slim-amd64
"
}
},
"hostRequirements"
:
{
...
...
.vscode/launch.json
浏览文件 @
6b4888f6
...
...
@@ -3,10 +3,16 @@
"version"
:
"0.2.0"
,
"inputs"
:
[
{
"id"
:
"
a
rgsPrompt"
,
"id"
:
"
fscA
rgsPrompt"
,
"description"
:
"Enter arguments for fsc"
,
"default"
:
""
,
"type"
:
"promptString"
,
},
{
"id"
:
"fssArgsPrompt"
,
"description"
:
"Enter arguments for fsi (optional)"
,
"default"
:
""
,
"type"
:
"promptString"
,
}
],
"configurations"
:
[
...
...
@@ -18,6 +24,9 @@
//
"preLaunchTask"
:
"Build (Debug)"
,
//
If
you
have
changed
target
frameworks
,
make
sure
to
update
the
program
p
"program"
:
"${workspaceFolder}/artifacts/bin/fsi/Debug/net7.0/fsi.dll"
,
"args"
:
[
"${input:fsiArgsPrompt}"
],
"cwd"
:
"${workspaceFolder}/src"
,
"console"
:
"integratedTerminal"
,
//
This
is
the
default
to
be
able
to
run
in
Codespaces.
"internalConsoleOptions"
:
"neverOpen"
,
...
...
@@ -44,7 +53,7 @@
//
If
you
have
changed
target
frameworks
,
make
sure
to
update
the
program
path.
"program"
:
"${workspaceFolder}/artifacts/bin/fsc/Debug/net7.0/fsc.dll"
,
"args"
:
[
"${input:
a
rgsPrompt}"
"${input:
fscA
rgsPrompt}"
],
"cwd"
:
"${workspaceFolder}"
,
"console"
:
"integratedTerminal"
,
//
This
is
the
default
to
be
able
to
run
in
Codespaces.
...
...
.vscode/tasks.json
浏览文件 @
6b4888f6
...
...
@@ -15,7 +15,7 @@
},
"tasks"
:
[
{
"label"
:
"Build (Debug)"
,
"label"
:
"
Full
Build (Debug)"
,
"command"
:
"./build.sh"
,
"type"
:
"shell"
,
"args"
:
[
...
...
@@ -23,12 +23,16 @@
],
"windows"
:
{
"command"
:
"${workspaceFolder}/Build.cmd"
,
"args"
:
[
"-c Debug"
,
"-noVisualStudio"
],
},
"problemMatcher"
:
"$msCompile"
,
"group"
:
"build"
,
},
{
"label"
:
"Build (Release)"
,
"label"
:
"
Full
Build (Release)"
,
"command"
:
"./build.sh"
,
"type"
:
"shell"
,
"args"
:
[
...
...
@@ -36,10 +40,27 @@
],
"windows"
:
{
"command"
:
"${workspaceFolder}/Build.cmd"
,
"args"
:
[
"-c Release"
,
"-noVisualStudio"
],
},
"problemMatcher"
:
"$msCompile"
,
"group"
:
"build"
,
},
{
"label"
:
"Rebuild (Debug)"
,
"command"
:
"dotnet"
,
"type"
:
"shell"
,
"args"
:
[
"build"
,
"-c"
,
"Debug"
,
"${workspaceFolder}/FSharp.sln"
],
"problemMatcher"
:
"$msCompile"
,
"group"
:
"build"
,
},
{
"label"
:
"Update xlf files"
,
"command"
:
"./build.sh"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录