Skip to content

Latest commit

 

History

History
74 lines (50 loc) · 2.29 KB

README.md

File metadata and controls

74 lines (50 loc) · 2.29 KB

Cake.AppCenter

A Cake AddIn that extends Cake with AppCenter command tools. Based on older addin version for MobileCenter.

cakebuild.net NuGet

Branch Status
Master Build status
Develop Build status

Important

1.4.0

  • Supports AppCenter 2.10.10
  • References Cake 4.0.0
  • Drops support for .NET Framework
  • Supports .net 6+

1.3.1 References Cake 1.0.0

1.3.0 Supports AppCenter 2.7.3

1.2.0 References Cake 0.33

1.0.0 References Cake 0.26 and .NET Standard 2.0.

Requirements

App Center Command Line Interface (CLI) must be installed, and Cake.AppCenter does not work without it (error will be AppCenter: Could not locate executable. if you try to use Cake.AppCenter without appcenter-cli). This can be done by installing Node.js first, and then by using npm from command-line/terminal

npm install -g appcenter-cli

or run with sudo if you get permission errors

sudo npm install -g appcenter-cli

Including addin

Including addin in cake script is easy.

#addin "Cake.AppCenter"

Usage

To use the addin just add it to Cake call the aliases and configure any settings you want.

#addin "Cake.AppCenter"

...

// How to login using a token
Task("Login")
	.Does(() => {
		// or more containers at once
		AppCenterLogin(new AppCenterLoginSettings{ Token = "YOUR_TOKEN_HERE" });
	)};

Other commands follow same convention.

This version is built against AppCenter CLI tools version 1.0.16.

Contributions

Code is mostly autogenerated with a custom parser. If you want to contribute, ask first by creating an issue.

Credits

Brought to you by Miha Markic (@MihaMarkic) and contributors.