Skip to content

Commit

Permalink
prepare for Codespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
adamralph committed Sep 20, 2020
1 parent 9226082 commit 57db0cf
Show file tree
Hide file tree
Showing 5 changed files with 111 additions and 23 deletions.
18 changes: 1 addition & 17 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1 @@
#-------------------------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------

FROM mcr.microsoft.com/dotnet/core/sdk:3.0-disco

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update \
&& apt-get -y install --no-install-recommends apt-utils dialog 2>&1 \
&& apt-get -y install git procps lsb-release \
&& apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

ENV DEBIAN_FRONTEND=
FROM mcr.microsoft.com/vscode/devcontainers/dotnetcore:0-3.1
20 changes: 14 additions & 6 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
{
"name": "C# (.NET Core 3.0)",
"dockerFile": "Dockerfile",
"name": "C# (.NET Core)",
"build": {
"dockerfile": "Dockerfile",
},
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
"extensions": [
"alefragnani.Bookmarks",
"DavidAnson.vscode-markdownlint",
"editorconfig.editorconfig",
"formulahendry.dotnet-test-explorer",
"ms-vscode.csharp",
"sohamkamani.code-eol"
]
"jeff-hykin.code-eol",
"bierner.markdown-preview-github-styles",
"ms-dotnettools.csharp",
"streetsidesoftware.code-spell-checker"
],
}
21 changes: 21 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"program": "${workspaceFolder}/targets/bin/Debug/netcoreapp3.1/Targets.dll",
"args": [
"default"
],
"console": "internalConsole",
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}"
}
]
}
57 changes: 57 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"code-eol.crlfCharacter": "",
"code-eol.newlineCharacter": "",
"code-eol.returnCharacter": "",
"cSpell.words": [
"Ananth",
"Nerdbank",
"Versioner",
"Xbehave",
"Xunit",
"adamralph",
"alefragnani",
"bierner",
"bootstrapper",
"dotnettools",
"ebug",
"editorconfig",
"etailed",
"gitversion",
"gpgsign",
"hykin",
"inimal",
"macos",
"markdownlint",
"minver",
"MinVerBuildMetadata",
"MinVerVersionOverride",
"myget",
"nerdbankgitversioning",
"netcoreapp",
"netstandard",
"nologo",
"nuget",
"nupkg",
"ormal",
"rror",
"shas",
"streetsidesoftware",
"uiet",
"visualstudio"
],
"markdownlint.config": {
"MD013": false,
"MD024": {
"siblings_only": true
},
"MD026": {
"punctuation": ".,;:!。,;:!"
},
"MD033": {
"allowed_elements": [
"img",
"sub"
]
}
}
}
18 changes: 18 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "./build.sh",
"type": "shell",
"args": [
"build"
],
"group": "build",
"presentation": {
"reveal": "silent"
},
"problemMatcher": "$msCompile"
}
]
}

0 comments on commit 57db0cf

Please sign in to comment.