From d75615373b6e1af8c179085f0c1f548cc8d4b276 Mon Sep 17 00:00:00 2001 From: AdmiringWorm Date: Mon, 14 Sep 2020 18:48:35 +0200 Subject: [PATCH] (build) Rename setup.cake to recipe.cake --- .appveyor.yml | 2 +- .github/workflows/build.yml | 4 ++-- .github/workflows/pre-release-notes.yml | 2 +- .github/workflows/publishdocs.yml | 4 ++-- .github/workflows/release-notes.yml | 4 ++-- build.ps1 | 4 ++-- build.sh | 4 ++-- setup.cake => recipe.cake | 0 8 files changed, 12 insertions(+), 12 deletions(-) rename setup.cake => recipe.cake (100%) diff --git a/.appveyor.yml b/.appveyor.yml index 3a513d1..db0db4c 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -25,4 +25,4 @@ build_script: - pwsh: ./build.ps1 --target=CI --verbosity=Diagnostic cache: - - "tools -> .build/dotnet-tools.json,setup.cake,.build/sonarcloud.cake" + - "tools -> .build/dotnet-tools.json,recipe.cake,.build/sonarcloud.cake" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3bb4102..62089a5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,11 +46,11 @@ jobs: uses: actions/cache@v2.1.1 with: path: tools - key: ${{ runner.os }}-tools-${{ hashFiles('setup.cake') }} + key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} - name: Build Addin uses: cake-build/cake-action@v1 with: - script-path: setup.cake + script-path: recipe.cake target: CI verbosity: Diagnostic cake-version: 0.38.4 diff --git a/.github/workflows/pre-release-notes.yml b/.github/workflows/pre-release-notes.yml index 0cfa09a..558af74 100644 --- a/.github/workflows/pre-release-notes.yml +++ b/.github/workflows/pre-release-notes.yml @@ -18,7 +18,7 @@ jobs: uses: actions/cache@v2.1.1 with: path: tools - key: ${{ runner.os }}-tools-${{ hashFiles('setup.cake') }} + key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} - name: Set up git version if: ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }} uses: gittools/actions/gitversion/setup@v0.9.4 diff --git a/.github/workflows/publishdocs.yml b/.github/workflows/publishdocs.yml index 5ccadb5..a4283a0 100644 --- a/.github/workflows/publishdocs.yml +++ b/.github/workflows/publishdocs.yml @@ -22,11 +22,11 @@ jobs: uses: actions/cache@v2.1.1 with: path: tools - key: ${{ runner.os }}-doc-tools-${{ hashFiles('setup.cake') }} + key: ${{ runner.os }}-doc-tools-${{ hashFiles('recipe.cake') }} - name: Publishing documentaiton uses: cake-build/cake-action@v1 with: - script-path: setup.cake + script-path: recipe.cake target: Force-Publish-Documentation verbosity: Diagnostic cake-version: 0.38.4 diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index 61b8411..61a7adf 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -18,7 +18,7 @@ jobs: uses: actions/cache@v2.1.1 with: path: tools - key: ${{ runner.os }}-tools-${{ hashFiles('setup.cake') }} + key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} - name: Set up git version if: ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }} uses: gittools/actions/gitversion/setup@v0.9.4 @@ -40,7 +40,7 @@ jobs: - name: Drafting Release Notes uses: cake-build/cake-action@v1 with: - script-path: setup.cake + script-path: recipe.cake target: releasenotes verbosity: Diagnostic cake-version: 0.38.4 diff --git a/build.ps1 b/build.ps1 index b7f5374..9084137 100644 --- a/build.ps1 +++ b/build.ps1 @@ -12,9 +12,9 @@ function Run([string[]]$arguments) { Run tool, restore -Run cake, setup.cake, --bootstrap +Run cake, recipe.cake, --bootstrap -$arguments = @("cake"; "setup.cake") +$arguments = @("cake"; "recipe.cake") $arguments += @($args) Run $arguments diff --git a/build.sh b/build.sh index c16bb9e..2840db7 100755 --- a/build.sh +++ b/build.sh @@ -1,6 +1,6 @@ #!/bin/bash dotnet tool restore -dotnet cake setup.cake --bootstrap +dotnet cake recipe.cake --bootstrap -dotnet cake setup.cake "$@" +dotnet cake recipe.cake "$@" diff --git a/setup.cake b/recipe.cake similarity index 100% rename from setup.cake rename to recipe.cake