Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(GH-43) Add Support for running Cake Frosting Projects #46

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Oct 1, 2024

  1. Added Cake Frosting switch

    louisfischer authored and ecampidoglio committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    2bceeb0 View commit details
    Browse the repository at this point in the history
  2. Makes the CakeVersion discriminated union safer

    It's a good idea to make the discriminator field read-only in a
    discriminated union to make it more type-safe.
    ecampidoglio committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    5917af1 View commit details
    Browse the repository at this point in the history
  3. Consolidates the parsing of the script-path and csproj-path input…

    … parameters
    
    This commit introduces a new type to represent the input file called `File`:
    
    ```typescript
    {
      type: string,
      path: string
    }
    ```
    
    `File` is a discriminated union type that can either be a `ScriptFile`
    or a `ProjectFile`. The `path` field is set to either the value of the
    `script-path` or `csproj-path` input parameter, based on what is provided
    by the user.
    
    This new abstraction makes is clear that only one type of file
    can be executed at any one time by the Cake Action. Also, it allows us to
    more clearly express that the `csproj-path` input parameter takes precedence
    over the `script-path` parameter.
    ecampidoglio committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    e49a4c4 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. Configuration menu
    Copy the full SHA
    94f064d View commit details
    Browse the repository at this point in the history
  2. Extracts the concept of a build file

    Previous mentions of 'script file' and 'script arguments'
    are now called 'build file' and 'build arguments' to include
    both scripts as well as projects.
    ecampidoglio committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    252741d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    86fd49e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2321ab4 View commit details
    Browse the repository at this point in the history