Skip to content
This repository has been archived by the owner on Feb 27, 2020. It is now read-only.

[Deprecated] Cake Adding that allows for easy use of Paket in the script

License

Notifications You must be signed in to change notification settings

NinetailLabs/Cake.PaketRestore

Repository files navigation

Cake.PaketRestore

Deprecation Notice

This repository has been deprecated as it duplicates functionality that can be found in the Cake.Paket library. Please make use of Cake.Paket instead.

Build status NuGet Coverage Status

An addin for Cake that allows the usage of Paket

This addin allows for the easy retrieval of the latest Paket bootstrapper (if required) as well as the execution of the bootstrapper.

It also allows calling restore or update on Paket

You can easily reference Cake.PaketRestore directly in your build script using Cake's Addin syntax:

#addin nuget:?package=Cake.PaketRestore

Methods

The following methods are provided:

  • RetrievePaketBootstrapper(this ICakeContext context, DirectoryPath paketDirectory)
  • RetrievePaketBootstrapper(this ICakeContext context, DirectoryPath paketDirectory, string githubOAuthToken)

Check if the Paket Bootstrapper exists and retrieve the latest version from GitHub if it doesn't

  • RetrievePaketExecutable(this ICakeContext context, DirectoryPath paketDirectory)

Use the Paket Bootstrapper to retrieve or update the Paket executable

  • PaketRestore(this ICakeContext context, DirectoryPath paketDirectory)
  • PaketRestore(this ICakeContext context, DirectoryPath paketDirectory, PaketRestoreSettings paketRestoreSettings)

Execute a Paket Restore

  • PaketUpdate(this ICakeContext context, DirectoryPath paketDirectory)
  • PaketUpdate(this ICakeContext context, DirectoryPath paketDirectory, PaketUpdateSettings paketUpdateSettings)

Execute a Paket Update

Icon

Download Document by AlfredoCreates.com from The Noun Project, remixed with the Cake icon.

About

[Deprecated] Cake Adding that allows for easy use of Paket in the script

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published