Skip to content

Commit

Permalink
(build) Rename setup.cake to recipe.cake
Browse files Browse the repository at this point in the history
  • Loading branch information
AdmiringWorm committed Sep 14, 2020
1 parent bd44a99 commit d756153
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ jobs:
uses: actions/[email protected]
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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/[email protected]
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/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publishdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
uses: actions/[email protected]
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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/[email protected]
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/[email protected]
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
@@ -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 "$@"
File renamed without changes.

0 comments on commit d756153

Please sign in to comment.