Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
13 changes: 11 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,16 @@
"version": "0.2.0",
"inputs": [
{
"id": "argsPrompt",
"id": "fscArgsPrompt",
"description": "Enter arguments for fsc",
"default": "",
"type": "promptString",
},
{
"id": "fssArgsPrompt",
"description": "Enter arguments for fsi (optional)",
"default": "",
"type": "promptString",
}
],
"configurations": [
Expand All @@ -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",
Expand All @@ -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:argsPrompt}"
"${input:fscArgsPrompt}"
],
"cwd": "${workspaceFolder}",
"console": "integratedTerminal", // This is the default to be able to run in Codespaces.
Expand Down
25 changes: 23 additions & 2 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,52 @@
},
"tasks": [
{
"label": "Build (Debug)",
"label": "Full Build (Debug)",
"command": "./build.sh",
"type": "shell",
"args": [
"-c Debug"
],
"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": [
"-c Release"
],
"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",
Expand Down