cake-build/cakeup

Name: cakeup

Owner: Cake

Description: A prototype binary bootstrapper for Cake.

Created: 2018-02-05 08:55:52.0

Updated: 2018-05-17 16:06:03.0

Pushed: 2018-05-17 16:06:02.0

Homepage:

Size: 108

Language: Rust

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

cakeup

A prototype binary bootstrapper for Cake.
This application will do things like:

Disclaimer

This is a prototype, so please do not use cakeup yet since we might simply remove this repository at any point in time until we've decided to keep this around or not.

Pull requests

Pull requests are currently NOT accepted for this project.

Usage
E:
cakeup [SUBCOMMAND]

S:
-h, --help       Prints help information
-V, --version    Prints version information

OMMANDS:
help    Prints this message or the help of the given subcommand(s)
run     Runs installation and execution of Cake and related tools
Run command
E:
cakeup run [FLAGS] [OPTIONS]

S:
    --bootstrap    Bootstraps Cake modules.
    --coreclr      Use the CoreCLR version of Cake.
    --execute      Executes the Cake script.
-h, --help         Prints help information
-V, --version      Prints version information

ONS:
    --cake <cake>      The version of Cake to install.
    --nuget <nuget>    The version of NuGet to install.
    --sdk <sdk>        The version of the dotnet SDK to install.

You can also set parameters to cakeup via the following environment variables. Note that this does not override parameters directly to cakeup.

UP_CAKE       = "0.24.0"
UP_SCRIPT     = "test.cake"
UP_NUGET      = "latest"
UP_SDK        = "1.1.7"
UP_EXECUTE    = "true"
UP_CORECLR    = "true"
UP_BOOTSTRAP  = "true"
Useage examples
Example 1

Install CoreCLR version of Cake 0.25.0.
Also install version 1.1.7 of the dotnet SDK and bootstrap Cake.

cakeup.exe --cake=0.25.0 --sdk=1.1.7 --coreclr --bootstrap

ting tools directory...
loading https://www.nuget.org/api/v2/package/Cake.CoreClr/0.25.0...
pping binaries...
ting .dotnet directory...
loading https://dot.net/v1/dotnet-install.ps1...
alling .NET Core SDK...
fying installation...
strapping script (dotnet)...
Example 2

Install CLR version of Cake 0.25.0.
Also bootstrap Cake and execute the build.cake script.
Use diagnostic verbosity when calling Cake and also pass the flag lol.

cakeup.exe --cake=0.25.0 --bootstrap --execute -- --verbosity=diagnostic --lol

ting tools directory...
loading https://www.nuget.org/api/v2/package/Cake.CoreClr/0.25.0...
pping binaries...
strapping script (CLR)...
le directory does not exist.
t.config not found.
yzing D:/Source/github/cake-build/cakeup/target/release/build.cake...
uting script (CLR)...
le directory does not exist.
t.config not found.
yzing build script...
yzing D:/Source/github/cake-build/cakeup/target/release/build.cake...
essing build script...
iling build script...
o World!

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.