-
-
Notifications
You must be signed in to change notification settings - Fork 73
The build script is totally hosed ...Β #116
Copy link
Copy link
Open
Description
- First it doesn't
[CmdletBinding()].... - Then, it tries to -ForceBootstrap on NuGet (without -Scope) which requires elevation
- Then, it tries to install some modules with -Force, meaning it installs them every time
- Then it installs some other modules without -Scope, meaning it has to be elevated
- Then it doesn't explicitly import Pester 4, meaning all the tests fail
- But worse, the built module won't work, because it's missing the initialization code which only exists in
PSSlack.psm1
Of course, it turns out you're not using the build anyway, you're just shipping the source!
I would suggest using Install-RequiredModule, or maybe PSDepends π, and stick that initialization code into a private folder somewhere...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels