mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 04:54:03 -08:00
.. | ||
deploy.ps1 | ||
go-my-posh.psd1 | ||
go-my-posh.psm1 | ||
README.md |
PowerShell package
The goal of this module is to wrap the go-my-posh
binaries into a PowerShell module and allow easy installation
and ease of use when setting the prompt.
Testing
Create local package repository to validate changes locally
Create the repository
Register-PSRepository -Name 'LocalRepo' -SourceLocation 'C:\Repo' -PublishLocation 'C:\Repo' -InstallationPolicy Trusted
Make changes and publish to your local repository
For ease testing, up the version number when using the build script, that way you are always able to update the module.
deploy.ps1 -BinVersion 0.1.0 -ModuleVersion 0.0.2 -Repository LocalRepo
Validate changes
Install/Update the module from your local repository and validate the changes.
Install-Module go-my-posh -Repository LocalRepo -Force