Skip to content

Instantly share code, notes, and snippets.

@da9l
Created October 18, 2017 06:02
Show Gist options
  • Save da9l/452896a8da0c4d82ed246e654b873523 to your computer and use it in GitHub Desktop.
Save da9l/452896a8da0c4d82ed246e654b873523 to your computer and use it in GitHub Desktop.
#This script relies on that ..\.paket\paket.bootstrapper.exe exists.
& {
if(!(Test-Path $PSScriptRoot\..\.paket\paket.exe)) {
& $PSScriptRoot\..\.paket\paket.bootstrapper.exe "--force-nuget", "--nuget-source=https://nuget.org/api/v2"
}
& $PSScriptRoot\..\.paket\paket.exe install
Write-Host -ForegroundColor Yellow @"
=========================================================================
New super power equipped!
Now you have access to paket - the nuget package manager on steroids!
Documentation: https://fsprojects.github.io/Paket/index.html
"@
} -ErrorAction stop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment