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

(Frosting) Support all commands that Cake does #2886

Closed
gep13 opened this issue Jul 15, 2020 · 4 comments · Fixed by #2946
Closed

(Frosting) Support all commands that Cake does #2886

gep13 opened this issue Jul 15, 2020 · 4 comments · Fixed by #2946
Assignees
Milestone

Comments

@gep13
Copy link
Member

gep13 commented Jul 15, 2020

For example, when you attempt to run:

.\build.ps1 --showtree

It should show the dependency graph of Tasks, but instead, it just runs the default task for the build.

@pascalberger
Copy link
Member

Here is what .NET Tool, .NET Framework Runner and .NET Core runner support:

Usage: Cake.exe [script] [--target=value] [--verbosity=value]
                [--showdescription] [--dryrun] [..]

Example: Cake.exe
Example: Cake.exe build.cake --verbosity=quiet
Example: Cake.exe build.cake --showdescription

Options:
    --target <TARGET>    Target task to invoke. Script must support this explicitly.
    --verbosity=value    Specifies the amount of information to be displayed.
                         (Quiet, Minimal, Normal, Verbose, Diagnostic)
    --debug              Performs a debug.
    --showdescription    Shows description about tasks.
    --showtree           Shows the task dependency tree.
    --dryrun             Performs a dry run.
    --exclusive          Execute a single task without any dependencies.
    --bootstrap          Download/install modules defined by #module directives
    --version            Displays version information.
    --info               Displays additional information about Cake execution.
    --help               Displays usage information.

Frosting currently supports the following syntax:

Cake.Frosting (0.38.4)
Usage:
  dotnet Cake.Frosting.dll [options]

Options:
  --target|-t <TARGET>          Sets the build target
  --working|-w <DIR>            Sets the working directory
  --verbosity|-v <VERBOSITY>    Sets the verbosity
  --dryrun|-r                   Performs a dry run
  --version                     Displays Cake.Frosting version number
  --help|-h                     Show help

We should be consistent in syntax and supported feature set between Frosting and other runners.

@pascalberger
Copy link
Member

@pascalberger pascalberger transferred this issue from cake-archive/frosting Oct 15, 2020
@pascalberger pascalberger added this to the v1.0.0 milestone Oct 15, 2020
@pascalberger pascalberger changed the title Frosting should support all commands that Cake does (Frosting) Support all commands that Cake does Oct 15, 2020
@pascalberger pascalberger linked a pull request Nov 15, 2020 that will close this issue
@devlead
Copy link
Member

devlead commented Dec 9, 2020

Fixed by #2946

@cake-build-bot
Copy link

🎉 This issue has been resolved in version v1.0.0 🎉

The release is available on:

Your GitReleaseManager bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants