From 21dac6425e3c39e0717203901a971d8454791c0e Mon Sep 17 00:00:00 2001 From: Dhruv Chand Date: Thu, 12 Oct 2023 23:50:16 -0700 Subject: [PATCH 1/2] Add examples directory with example devbox.yaml --- Examples/aspdotnet-web-dev/devbox.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Examples/aspdotnet-web-dev/devbox.yaml diff --git a/Examples/aspdotnet-web-dev/devbox.yaml b/Examples/aspdotnet-web-dev/devbox.yaml new file mode 100644 index 0000000..2e002bf --- /dev/null +++ b/Examples/aspdotnet-web-dev/devbox.yaml @@ -0,0 +1,18 @@ +# This devbox.yaml installs the open-source OrchardCore ASP.NET web application on a Dev Box +# and prepares build caches by running dotnet build + +setupTasks: + - task: choco + inputs: + package: git + - task: choco + inputs: + package: dotnet-sdk + - task: powershell + inputs: + command: 'git clone https://github.com/OrchardCMS/OrchardCore.git' + workingDirectory: 'C:\Projects' + - task: powershell + inputs: + command: dotnet build + workingDirectory: 'C:\Projects' \ No newline at end of file From 30306bc0ecc9cb415d454be971d0f1a4407d6acd Mon Sep 17 00:00:00 2001 From: Dhruv Chand Date: Thu, 12 Oct 2023 23:50:48 -0700 Subject: [PATCH 2/2] Fix backslash escape --- Examples/aspdotnet-web-dev/devbox.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Examples/aspdotnet-web-dev/devbox.yaml b/Examples/aspdotnet-web-dev/devbox.yaml index 2e002bf..3b35c82 100644 --- a/Examples/aspdotnet-web-dev/devbox.yaml +++ b/Examples/aspdotnet-web-dev/devbox.yaml @@ -11,8 +11,8 @@ setupTasks: - task: powershell inputs: command: 'git clone https://github.com/OrchardCMS/OrchardCore.git' - workingDirectory: 'C:\Projects' + workingDirectory: 'C:\\Projects' - task: powershell inputs: command: dotnet build - workingDirectory: 'C:\Projects' \ No newline at end of file + workingDirectory: 'C:\\Projects' \ No newline at end of file