Last active
April 14, 2018 03:11
-
-
Save iguatemigarin/23ca66f85d3721542deb38e372f79836 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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