From b1872be922673a36cda91529059e96297bcd6cb1 Mon Sep 17 00:00:00 2001 From: Claire Kuang Date: Tue, 30 Jan 2024 21:03:28 +0000 Subject: [PATCH] renames to SpeckleAutomateDotnetExample --- .github/workflows/main.yml | 4 ++-- .vscode/launch.json | 2 +- .vscode/tasks.json | 6 +++--- Dockerfile | 2 +- ...RegressionTester.sln => SpeckleAutomateDotnetExample.sln | 2 +- .../AutomateFunction.cs | 0 .../FunctionInputs.cs | 0 .../Program.cs | 0 .../SpeckleAutomateDotnetExample.csproj | 0 9 files changed, 8 insertions(+), 8 deletions(-) rename SpeckleRegressionTester.sln => SpeckleAutomateDotnetExample.sln (83%) rename {Regression-Testing => SpeckleAutomateDotnetExample}/AutomateFunction.cs (100%) rename {Regression-Testing => SpeckleAutomateDotnetExample}/FunctionInputs.cs (100%) rename {Regression-Testing => SpeckleAutomateDotnetExample}/Program.cs (100%) rename Regression-Testing/SpeckleRegressionTester.csproj => SpeckleAutomateDotnetExample/SpeckleAutomateDotnetExample.csproj (100%) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cca8760..77ddc20 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,7 +21,7 @@ jobs: run: dotnet restore - name: Extract functionInputSchema id: extract_schema - working-directory: "SpeckleRegressionTester" + working-directory: "SpeckleAutomateDotnetExample" run: | dotnet build dotnet run generate-schema ${HOME}/functionSchema.json @@ -29,7 +29,7 @@ jobs: - name: Speckle Automate Function - Build and Publish uses: specklesystems/speckle-automate-github-composite-action@0.7.2 with: - speckle_function_command: "dotnet SpeckleRegressionTester.dll" + speckle_function_command: "dotnet SpeckleAutomateDotnetExample.dll" speckle_automate_url: ${{ env.SPECKLE_AUTOMATE_URL }} speckle_token: ${{ secrets.SPECKLE_FUNCTION_TOKEN }} speckle_function_id: ${{ secrets.SPECKLE_FUNCTION_ID }} diff --git a/.vscode/launch.json b/.vscode/launch.json index 5b04bfb..c84c173 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -10,7 +10,7 @@ "request": "launch", "preLaunchTask": "build", // If you have changed target frameworks, make sure to update the program path. - "program": "${workspaceFolder}/bin/Debug/net7.0/SpeckleRegressionTester.dll", + "program": "${workspaceFolder}/bin/Debug/net7.0/SpeckleAutomateDotnetExample.dll", "args": [ "{\"projectId\": \"03434ee1f1\", \"modelId\": \"base design\", \"versionId\": \"09d2a0e55a\", \"speckleServerUrl\": \"https://latest.speckle.systems\"}", "{\"speckleTypeToCount\": \"Base\"}", diff --git a/.vscode/tasks.json b/.vscode/tasks.json index cefde81..93ff8db 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -7,7 +7,7 @@ "type": "process", "args": [ "build", - "${workspaceFolder}/SpeckleRegressionTester.csproj", + "${workspaceFolder}/SpeckleAutomateDotnetExample.csproj", "/property:GenerateFullPaths=true", "/consoleloggerparameters:NoSummary" ], @@ -19,7 +19,7 @@ "type": "process", "args": [ "publish", - "${workspaceFolder}/SpeckleRegressionTester.csproj", + "${workspaceFolder}/SpeckleAutomateDotnetExample.csproj", "/property:GenerateFullPaths=true", "/consoleloggerparameters:NoSummary" ], @@ -33,7 +33,7 @@ "watch", "run", "--project", - "${workspaceFolder}/SpeckleRegressionTester.csproj" + "${workspaceFolder}/SpeckleAutomateDotnetExample.csproj" ], "problemMatcher": "$msCompile" } diff --git a/Dockerfile b/Dockerfile index 58f6c1c..70cc0c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM mcr.microsoft.com/dotnet/sdk:7.0 as build-env WORKDIR /src -COPY SpeckleRegressionTester/ . +COPY SpeckleAutomateDotnetExample/ . RUN dotnet restore --use-current-runtime RUN dotnet publish --use-current-runtime --self-contained false --no-restore -o /publish diff --git a/SpeckleRegressionTester.sln b/SpeckleAutomateDotnetExample.sln similarity index 83% rename from SpeckleRegressionTester.sln rename to SpeckleAutomateDotnetExample.sln index 2637c74..48a9afe 100644 --- a/SpeckleRegressionTester.sln +++ b/SpeckleAutomateDotnetExample.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.5.002.0 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SpeckleRegressionTester", "SpeckleAutomateDotnetExample\SpeckleRegressionTester.csproj", "{E1DE5809-1111-4817-9B7D-7ADCA087FA1C}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SpeckleAutomateDotnetExample", "SpeckleAutomateDotnetExample\SpeckleAutomateDotnetExample.csproj", "{E1DE5809-1111-4817-9B7D-7ADCA087FA1C}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/Regression-Testing/AutomateFunction.cs b/SpeckleAutomateDotnetExample/AutomateFunction.cs similarity index 100% rename from Regression-Testing/AutomateFunction.cs rename to SpeckleAutomateDotnetExample/AutomateFunction.cs diff --git a/Regression-Testing/FunctionInputs.cs b/SpeckleAutomateDotnetExample/FunctionInputs.cs similarity index 100% rename from Regression-Testing/FunctionInputs.cs rename to SpeckleAutomateDotnetExample/FunctionInputs.cs diff --git a/Regression-Testing/Program.cs b/SpeckleAutomateDotnetExample/Program.cs similarity index 100% rename from Regression-Testing/Program.cs rename to SpeckleAutomateDotnetExample/Program.cs diff --git a/Regression-Testing/SpeckleRegressionTester.csproj b/SpeckleAutomateDotnetExample/SpeckleAutomateDotnetExample.csproj similarity index 100% rename from Regression-Testing/SpeckleRegressionTester.csproj rename to SpeckleAutomateDotnetExample/SpeckleAutomateDotnetExample.csproj