Chocolatey support for Paket.PowerShell - #872
Conversation
|
Should we push this to chocolatey during the build? |
|
I think so. That is what I do for SourceLink.exe. You could also do that same for paket. |
Chocolatey support for Paket.PowerShell
|
cool. It's uploaded to https://chocolatey.org/packages/Paket.PowerShell/1.14.0, but await moderator approval. |
|
I'm pretty sure Paket's release cycle will annoy the hell out of the choco guys. |
|
After the installation, it cannot be used in the PS console, like path is not added. |
|
@alexeyzimarev Are you trying to use it from the Did the path get added correctly to the The |
|
@alexeyzimarev It looks like some output doesn't show up. Is that what you mean? I logged this bug and will look into it. #874 |
|
No, for me it was just saying that "Paket" is not a valid command. I tried from the PS shell. Will check the path later. |
|
This is what I got after cinst PS D:\GitHub\Paket.VisualStudio> (Get-Item Env:\PSModulePath).Value -Split ';' |
|
Hi @alexeyzimarev, I'm not sure why you get that error message. Can you provide the output of these commands? Unless I coded something wrong, |
|
@alexeyzimarev did you close and reopen your shell? |
|
I did notice that you are adding a bunch of unapproved verbs, which might be why it didn't automatically import? |
|
Dumb question. Does a module automatically load without a psd1/psm1 file? |
|
Actually the dumbest possibility, did you need the trailing back slash at the end of your custom module path? http://stackoverflow.com/a/23942543/18475 |
|
@ferventcoder There is not a |
|
Seems to work without the trailing backslash as well. With |
|
so should be good to approve. :) |
|
Approved. With the project owners building the package, we move things to a trusted status after a few good approvals @forki. |
|
Awesome! Thank you! Sometime this week, I hope to get a blog about how I used F# + Chocolatey + PowerShell. :-) |
|
:) |








Testing locally can be done like so:
Installing from NuGet can be done like so:
Once it is uploaded to or mirrored on Chocolatey, then just this will work: