Skip to content

Commit 1e03d05

Browse files
authored
Updated repo files (#297)
1 parent 47ea21a commit 1e03d05

14 files changed

Lines changed: 437 additions & 417 deletions

.azure-pipelines/azure-pipelines.yaml

Lines changed: 0 additions & 189 deletions
This file was deleted.

.azure-pipelines/jobs/test.yaml

Lines changed: 0 additions & 76 deletions
This file was deleted.

.azure-pipelines/jobs/testContainer.yaml

Lines changed: 0 additions & 76 deletions
This file was deleted.

.devcontainer/Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
3+
4+
# Visual Studio Code image with .NET
5+
6+
# NOTE:
7+
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/main/containers/dotnet
8+
9+
ARG VARIANT="7.0-bullseye-slim"
10+
FROM mcr.microsoft.com/vscode/devcontainers/dotnet:${VARIANT}

.devcontainer/container-build.ps1

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
3+
4+
# Note:
5+
# This is run during container creation.
6+
7+
# Install Python 3 dependencies
8+
sudo apt install python3-pip -y
9+
sudo python3 -m pip install --upgrade pip
10+
sudo python3 -m pip install wheel
11+
12+
# Install PowerShell dependencies
13+
$ProgressPreference = [System.Management.Automation.ActionPreference]::SilentlyContinue;
14+
if ($Null -eq (Get-PackageProvider -Name NuGet -ErrorAction Ignore)) {
15+
Install-PackageProvider -Name NuGet -Force -Scope CurrentUser;
16+
}
17+
if ($Null -eq (Get-InstalledModule -Name PowerShellGet -MinimumVersion 2.2.1 -ErrorAction Ignore)) {
18+
Install-Module PowerShellGet -MinimumVersion 2.2.1 -Scope CurrentUser -Force -AllowClobber;
19+
}
20+
if ($Null -eq (Get-InstalledModule -Name InvokeBuild -MinimumVersion 5.4.0 -ErrorAction Ignore)) {
21+
Install-Module InvokeBuild -MinimumVersion 5.4.0 -Scope CurrentUser -Force;
22+
}
23+
24+
Import-Module ./scripts/dependencies.psm1;
25+
Install-Dependencies -Dev;

.devcontainer/container-start.ps1

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
3+
4+
# Note:
5+
# This is run during container startup.
6+
7+
# Install Python packages
8+
pip install -r requirements-docs.txt
9+
10+
# Restore .NET packages
11+
dotnet restore

0 commit comments

Comments
 (0)