Skip to content

Instantly share code, notes, and snippets.

@iguatemigarin
Last active April 14, 2018 03:11
Show Gist options
  • Save iguatemigarin/23ca66f85d3721542deb38e372f79836 to your computer and use it in GitHub Desktop.
Save iguatemigarin/23ca66f85d3721542deb38e372f79836 to your computer and use it in GitHub Desktop.
Function Paket-Init {
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
New-Item -ItemType Directory -Force -Path ".\.paket"
iwr (iwr http://fsprojects.github.io/Paket/stable).ToString() -OutFile ".\.paket\paket.exe"
Set-Content -Value ".paket\paket.exe %*" -Path ".\paket.cmd"
.\paket.cmd init
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment