diff --git a/.vscode/modulebuilddevelopment.code-workspace b/.vscode/modulebuilddevelopment.code-workspace
new file mode 100644
index 0000000..0eb7fe7
--- /dev/null
+++ b/.vscode/modulebuilddevelopment.code-workspace
@@ -0,0 +1,10 @@
+{
+ "folders": [
+ {
+ "path": ".."
+ }
+ ],
+ "settings": {
+ "powershell.scriptAnalysis.settingsPath": "PSScriptAnalyzerSettings.psd1"
+ }
+}
\ No newline at end of file
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index 9eb0102..bcd4386 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -18,10 +18,10 @@
"command": "powershell.exe -NoLogo -NoProfile -ExecutionPolicy Bypass -File ${workspaceRoot}\\Build.ps1 -BuildModule"
},
"linux": {
- "command": "/usr/bin/powershell -NoProfile -File ${workspaceRoot}\\Build.ps1 -BuildModule"
+ "command": "pwsh -NoProfile -File ${workspaceRoot}/Build.ps1 -BuildModule"
},
"osx": {
- "command": "/usr/local/bin/powershell -NoProfile -File ${workspaceRoot}\\Build.ps1 -BuildModule"
+ "command": "pwsh -NoProfile -File ${workspaceRoot}/Build.ps1 -BuildModule"
},
"group": {
"kind": "build",
@@ -39,10 +39,10 @@
"command": "powershell.exe -NoLogo -NoProfile -ExecutionPolicy Bypass -File ${workspaceRoot}\\Build.ps1 -Test"
},
"linux": {
- "command": "/usr/bin/powershell -NoProfile -File ${workspaceRoot}\\Build.ps1 -Test"
+ "command": "pwsh -NoProfile -File ${workspaceRoot}/Build.ps1 -Test"
},
"osx": {
- "command": "/usr/local/bin/powershell -NoProfile -File ${workspaceRoot}\\Build.ps1 -Test"
+ "command": "pwsh -NoProfile -File ${workspaceRoot}/Build.ps1 -Test"
},
"group": {
"kind": "build",
@@ -60,10 +60,10 @@
"command": "powershell.exe -NoLogo -NoProfile -ExecutionPolicy Bypass -File ${workspaceRoot}\\Build.ps1 -TestBuildAndInstallModule"
},
"linux": {
- "command": "/usr/bin/powershell -NoProfile -File ${workspaceRoot}\\Build.ps1 -TestBuildAndInstallModule"
+ "command": "pwsh -NoProfile -File ${workspaceRoot}/Build.ps1 -TestBuildAndInstallModule"
},
"osx": {
- "command": "/usr/local/bin/powershell -NoProfile -File ${workspaceRoot}\\Build.ps1 -TestBuildAndInstallModule"
+ "command": "pwsh -NoProfile -File ${workspaceRoot}/Build.ps1 -TestBuildAndInstallModule"
},
"group": {
"kind": "build",
@@ -81,10 +81,10 @@
"command": "powershell.exe -NoLogo -NoProfile -ExecutionPolicy Bypass -File ${workspaceRoot}\\Build.ps1 -AddMissingCBH"
},
"linux": {
- "command": "/usr/bin/powershell -NoProfile -File ${workspaceRoot}\\Build.ps1 -AddMissingCBH"
+ "command": "pwsh -NoProfile -File ${workspaceRoot}/Build.ps1 -AddMissingCBH"
},
"osx": {
- "command": "/usr/local/bin/powershell -NoProfile -File ${workspaceRoot}\\Build.ps1 -AddMissingCBH"
+ "command": "pwsh -NoProfile -File ${workspaceRoot}/Build.ps1 -AddMissingCBH"
},
"group": {
"kind": "build",
diff --git a/Install.ps1 b/Install.ps1
index ead17d3..0123d41 100644
--- a/Install.ps1
+++ b/Install.ps1
@@ -1,10 +1,10 @@
# Run this in an administrative PowerShell prompt to install the ModuleBuild PowerShell module:
#
-# iex (New-Object Net.WebClient).DownloadString("https://github.com/zloeber/ModuleBuild/raw/master/Install.ps1")
+# iex (New-Object Net.WebClient).DownloadString("https://github.com/ModuleBuild/ModuleBuild/raw/master/Install.ps1")
# Some general variables
$ModuleName = 'ModuleBuild'
-$DownloadURL = 'https://github.com/zloeber/ModuleBuild/raw/master/release/ModuleBuild-current.zip'
+$DownloadURL = 'https://github.com/ModuleBuild/ModuleBuild/raw/master/release/ModuleBuild-current.zip'
# Download and install the module
$webclient = New-Object System.Net.WebClient
diff --git a/ModuleBuild.build.ps1 b/ModuleBuild.build.ps1
index 6e92931..3220759 100644
--- a/ModuleBuild.build.ps1
+++ b/ModuleBuild.build.ps1
@@ -50,7 +50,7 @@ if ($Script:BuildEnv.OptionTranscriptEnabled) {
#Synopsis: Validate system requirements are met
task ValidateRequirements {
Write-Description White 'Validating System Requirements for Build' -accent
- assert ($PSVersionTable.PSVersion.Major.ToString() -eq '5') 'Powershell 5 is required for this build to function properly (you can comment this assert out if you are able to work around this requirement)'
+ assert ($PSVersionTable.PSVersion.Major.ToString() -ge '5') 'Powershell 5 or greater is required for this build to function properly.'
}
# Synopsis: Run pre-build scripts (such as other builds)
@@ -59,7 +59,7 @@ task PreBuildTasks {
$BuildToolPath = Join-Path $BuildRoot $Script:BuildEnv.BuildToolFolder
$PreBuildPath = Join-Path $BuildToolPath 'startup'
# Dot source any pre build scripts.
- Get-ChildItem -Path $PreBuildPath -Recurse -Filter "*.ps1" -File | Foreach {
+ Get-ChildItem -Path $PreBuildPath -Recurse -Filter "*.ps1" -File | ForEach-Object {
Write-Description White "Dot sourcing pre-build script file: $($_.Name)" -level 2
. $_.FullName
}
diff --git a/ModuleBuild.psd1 b/ModuleBuild.psd1
index 4445756..608a77b 100644
--- a/ModuleBuild.psd1
+++ b/ModuleBuild.psd1
@@ -98,13 +98,13 @@ PrivateData = @{
Tags = 'scaffold','Module','Invoke-Build'
# A URL to the license for this module.
- LicenseUri = 'https://github.com/zloeber/ModuleBuild/raw/master/LICENSE.md'
+ LicenseUri = 'https://github.com/ModuleBuild/ModuleBuild/raw/master/LICENSE.md'
# A URL to the main website for this project.
- ProjectUri = 'https://github.com/zloeber/ModuleBuild'
+ ProjectUri = 'https://github.com/ModuleBuild/ModuleBuild'
# A URL to an icon representing this module.
- IconUri = 'https://github.com/zloeber/ModuleBuild/raw/master/src/other/powershell-project.png'
+ IconUri = 'https://github.com/ModuleBuild/ModuleBuild/raw/master/src/other/powershell-project.png'
# ReleaseNotes of this module
ReleaseNotes = '0.3.1 release'
diff --git a/README.md b/README.md
index 5dc73de..9ec743a 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@ Powershell Gallery (PS 5.0, Preferred method)
`install-module ModuleBuild -Scope:CurrentUser`
Manual Installation
-`iex (New-Object Net.WebClient).DownloadString("https://github.com/zloeber/ModuleBuild/raw/master/Install.ps1")`
+`iex (New-Object Net.WebClient).DownloadString("https://github.com/ModuleBuild/ModuleBuild/raw/master/Install.ps1")`
Or clone this repository to your local machine, extract, go to the .\releases\ModuleBuild directory
and import the module to your session to test, but not install this module.
@@ -53,14 +53,16 @@ Studio Code and ensure that the PowerShell extension is installed.
* [Visual Studio Code](https://code.visualstudio.com/)
* [PowerShell Extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.PowerShell)
-More contributing information can be found [here](https://github.com/zloeber/ModuleBuild/blob/master/docs/Contributing.md).
+More contributing information can be found [here](https://github.com/ModuleBuild/ModuleBuild/blob/master/docs/Contributing.md).
This module is tested with the PowerShell testing framework Pester. To run all tests, just start the included build script with the test param `.\Build.ps1 -test`.
-## Other Information
+## Authors
+
+- [Zachary Loeber](https://github.com/zloeber)
-**Authors:**
-- [Zachary Loeber](https://www.the-little-things.net)
- [Justin Perdok](https://github.com/justin-p)
-**Website:** https://github.com/zloeber/ModuleBuild
+## Links
+
+[Website](https://github.com/ModuleBuild/ModuleBuild)
diff --git a/build/ModuleBuild.buildenvironment.ps1 b/build/ModuleBuild.buildenvironment.ps1
index 8923aed..62d91f7 100644
--- a/build/ModuleBuild.buildenvironment.ps1
+++ b/build/ModuleBuild.buildenvironment.ps1
@@ -17,9 +17,9 @@ if ((Get-Variable 'BuildEnv' -ErrorAction:SilentlyContinue) -eq $null) {
Encoding = 'utf8'
ModuleToBuild = 'ModuleBuild'
ModuleVersion = '0.3.0'
- ModuleWebsite = 'https://github.com/zloeber/ModuleBuild'
+ ModuleWebsite = 'https://github.com/ModuleBuild/ModuleBuild'
ModuleCopyright = "(c) $((get-date).Year.ToString()) Zachary Loeber. All rights reserved."
- ModuleLicenseURI = 'https://github.com/zloeber/ModuleBuild/LICENSE.md'
+ ModuleLicenseURI = 'https://github.com/ModuleBuild/ModuleBuild/LICENSE.md'
ModuleTags = 'scaffold, Module, Invoke-Build' -split ','
ModuleAuthor = 'Zachary Loeber'
ModuleDescription = 'A scaffolding framework which can be used to kickstart a generic PowerShell module project. '
diff --git a/build/docs/Additional/Acknowledgements.md b/build/docs/Additional/Acknowledgements.md
index 7b22f5f..0e735ef 100644
--- a/build/docs/Additional/Acknowledgements.md
+++ b/build/docs/Additional/Acknowledgements.md
@@ -1,6 +1,6 @@
# ModuleBuild Acknowledgements
-Project Site: [https://github.com/zloeber/ModuleBuild](https://github.com/zloeber/ModuleBuild)
+Project Site: [https://github.com/ModuleBuild/ModuleBuild](https://github.com/ModuleBuild/ModuleBuild)
This project owes some acknowledgements to other projects. Here are some other authors or projects which have made this project possible. If you believe you or a project should be included in this list please let us know.
diff --git a/build/docs/Additional/ChangeLog.md b/build/docs/Additional/ChangeLog.md
index c87f5ed..8bc0106 100644
--- a/build/docs/Additional/ChangeLog.md
+++ b/build/docs/Additional/ChangeLog.md
@@ -1,6 +1,6 @@
# ModuleBuild Change Log
-Project Site: [https://github.com/zloeber/ModuleBuild](https://github.com/zloeber/ModuleBuild)
+Project Site: [https://github.com/ModuleBuild/ModuleBuild](https://github.com/ModuleBuild/ModuleBuild)
## Version 0.3.0
@@ -41,8 +41,8 @@ Project Site: [https://github.com/zloeber/ModuleBuild](https://github.com/zloebe
- Updated vscode tasks.json to fix depreciated syntax.
- Fixed `-Force` switch processing on Add-MBPublicFunction to still create the function if the provided name is detected as plural.
-- Fixed [cleanup script modulebuild execution issue](https://github.com/zloeber/ModuleBuild/issues/5) by separating out the postbuildtask into its own Invoke-Build code block (I had done this a while ago and never rolled up the changes into the Plaster template).
-- Fixed a glaring issue with the PlatyPS output where any Guids were 00000000-0000-0000-0000-000000000000 instead of the actual module manifest Guid [reported via issue #6](https://github.com/zloeber/ModuleBuild/issues/6). This happens because we build the module help from the psm1 load of the module in memory, not the psd1 file as that psd1 manifest gets recreated at build time with the appropriate exported functions and such. Basically a chicken/egg scenario. For now we just manually replace the output markdown files with the correct Guid before moving on to the help file packaging.
+- Fixed [cleanup script modulebuild execution issue](https://github.com/ModuleBuild/ModuleBuild/issues/5) by separating out the postbuildtask into its own Invoke-Build code block (I had done this a while ago and never rolled up the changes into the Plaster template).
+- Fixed a glaring issue with the PlatyPS output where any Guids were 00000000-0000-0000-0000-000000000000 instead of the actual module manifest Guid [reported via issue #6](https://github.com/ModuleBuild/ModuleBuild/issues/6). This happens because we build the module help from the psm1 load of the module in memory, not the psd1 file as that psd1 manifest gets recreated at build time with the appropriate exported functions and such. Basically a chicken/egg scenario. For now we just manually replace the output markdown files with the correct Guid before moving on to the help file packaging.
## Version 0.2.1
diff --git a/build/docs/Additional/Contributing.md b/build/docs/Additional/Contributing.md
index 75020e9..a3ba69e 100644
--- a/build/docs/Additional/Contributing.md
+++ b/build/docs/Additional/Contributing.md
@@ -1,6 +1,6 @@
# Contributing to ModuleBuild
-Project Site: [https://github.com/zloeber/ModuleBuild](https://github.com/zloeber/ModuleBuild)
+Project Site: [https://github.com/ModuleBuild/ModuleBuild](https://github.com/ModuleBuild/ModuleBuild)
There are some important things to be aware of if you plan on contributing to this project.
diff --git a/build/docs/Additional/ToDo.md b/build/docs/Additional/ToDo.md
index 0263c9b..bde4521 100644
--- a/build/docs/Additional/ToDo.md
+++ b/build/docs/Additional/ToDo.md
@@ -1,6 +1,6 @@
# ModuleBuild ToDo List
-Project Site: [https://github.com/zloeber/ModuleBuild](https://github.com/zloeber/ModuleBuild)
+Project Site: [https://github.com/ModuleBuild/ModuleBuild](https://github.com/ModuleBuild/ModuleBuild)
There are many items which are possible and should probably be added to this project. Here are a few thoughts on ones I'll probably get addressed sooner or later. I'm open to suggestions or pull requests.
diff --git a/build/docs/Additional/index.md b/build/docs/Additional/index.md
index 1a770d5..aa5cc7e 100644
--- a/build/docs/Additional/index.md
+++ b/build/docs/Additional/index.md
@@ -1,7 +1,7 @@
# ModuleBuild
A scaffolding framework which can be used to kickstart a generic PowerShell module project.
-Project Site: [https://github.com/zloeber/ModuleBuild](https://github.com/zloeber/ModuleBuild)
+Project Site: [https://github.com/ModuleBuild/ModuleBuild](https://github.com/ModuleBuild/ModuleBuild)
## What is ModuleBuild?
A scaffolding framework which can be used to kickstart a generic PowerShell module project with an Invoke-Build backend for regular deployments and other automated tasks.
diff --git a/build/docs/en-US/about_ModuleName.help.txt b/build/docs/en-US/about_ModuleName.help.txt
index 4e5deaa..f51f41e 100644
--- a/build/docs/en-US/about_ModuleName.help.txt
+++ b/build/docs/en-US/about_ModuleName.help.txt
@@ -16,4 +16,4 @@ KEYWORDS
scaffold, Module, Invoke-Build
SEE ALSO
- https://github.com/zloeber/ModuleBuild
+ https://github.com/ModuleBuild/ModuleBuild
diff --git a/docs/Acknowledgements.md b/docs/Acknowledgements.md
index 7b22f5f..0e735ef 100644
--- a/docs/Acknowledgements.md
+++ b/docs/Acknowledgements.md
@@ -1,6 +1,6 @@
# ModuleBuild Acknowledgements
-Project Site: [https://github.com/zloeber/ModuleBuild](https://github.com/zloeber/ModuleBuild)
+Project Site: [https://github.com/ModuleBuild/ModuleBuild](https://github.com/ModuleBuild/ModuleBuild)
This project owes some acknowledgements to other projects. Here are some other authors or projects which have made this project possible. If you believe you or a project should be included in this list please let us know.
diff --git a/docs/ChangeLog.md b/docs/ChangeLog.md
index c87f5ed..8bc0106 100644
--- a/docs/ChangeLog.md
+++ b/docs/ChangeLog.md
@@ -1,6 +1,6 @@
# ModuleBuild Change Log
-Project Site: [https://github.com/zloeber/ModuleBuild](https://github.com/zloeber/ModuleBuild)
+Project Site: [https://github.com/ModuleBuild/ModuleBuild](https://github.com/ModuleBuild/ModuleBuild)
## Version 0.3.0
@@ -41,8 +41,8 @@ Project Site: [https://github.com/zloeber/ModuleBuild](https://github.com/zloebe
- Updated vscode tasks.json to fix depreciated syntax.
- Fixed `-Force` switch processing on Add-MBPublicFunction to still create the function if the provided name is detected as plural.
-- Fixed [cleanup script modulebuild execution issue](https://github.com/zloeber/ModuleBuild/issues/5) by separating out the postbuildtask into its own Invoke-Build code block (I had done this a while ago and never rolled up the changes into the Plaster template).
-- Fixed a glaring issue with the PlatyPS output where any Guids were 00000000-0000-0000-0000-000000000000 instead of the actual module manifest Guid [reported via issue #6](https://github.com/zloeber/ModuleBuild/issues/6). This happens because we build the module help from the psm1 load of the module in memory, not the psd1 file as that psd1 manifest gets recreated at build time with the appropriate exported functions and such. Basically a chicken/egg scenario. For now we just manually replace the output markdown files with the correct Guid before moving on to the help file packaging.
+- Fixed [cleanup script modulebuild execution issue](https://github.com/ModuleBuild/ModuleBuild/issues/5) by separating out the postbuildtask into its own Invoke-Build code block (I had done this a while ago and never rolled up the changes into the Plaster template).
+- Fixed a glaring issue with the PlatyPS output where any Guids were 00000000-0000-0000-0000-000000000000 instead of the actual module manifest Guid [reported via issue #6](https://github.com/ModuleBuild/ModuleBuild/issues/6). This happens because we build the module help from the psm1 load of the module in memory, not the psd1 file as that psd1 manifest gets recreated at build time with the appropriate exported functions and such. Basically a chicken/egg scenario. For now we just manually replace the output markdown files with the correct Guid before moving on to the help file packaging.
## Version 0.2.1
diff --git a/docs/Contributing.md b/docs/Contributing.md
index 75020e9..a3ba69e 100644
--- a/docs/Contributing.md
+++ b/docs/Contributing.md
@@ -1,6 +1,6 @@
# Contributing to ModuleBuild
-Project Site: [https://github.com/zloeber/ModuleBuild](https://github.com/zloeber/ModuleBuild)
+Project Site: [https://github.com/ModuleBuild/ModuleBuild](https://github.com/ModuleBuild/ModuleBuild)
There are some important things to be aware of if you plan on contributing to this project.
diff --git a/docs/Functions/Add-MBPublicFunction.md b/docs/Functions/Add-MBPublicFunction.md
index 2d7d735..c102b8b 100644
--- a/docs/Functions/Add-MBPublicFunction.md
+++ b/docs/Functions/Add-MBPublicFunction.md
@@ -1,7 +1,7 @@
---
external help file: ModuleBuild-help.xml
Module Name: ModuleBuild
-online version: https://github.com/zloeber/ModuleBuild
+online version: https://github.com/ModuleBuild/ModuleBuild
schema: 2.0.0
---
@@ -85,5 +85,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## RELATED LINKS
-[https://github.com/zloeber/ModuleBuild](https://github.com/zloeber/ModuleBuild)
+[https://github.com/ModuleBuild/ModuleBuild](https://github.com/ModuleBuild/ModuleBuild)
diff --git a/docs/Functions/Add-PublicFunction.md b/docs/Functions/Add-PublicFunction.md
index 2d7d735..c102b8b 100644
--- a/docs/Functions/Add-PublicFunction.md
+++ b/docs/Functions/Add-PublicFunction.md
@@ -1,7 +1,7 @@
---
external help file: ModuleBuild-help.xml
Module Name: ModuleBuild
-online version: https://github.com/zloeber/ModuleBuild
+online version: https://github.com/ModuleBuild/ModuleBuild
schema: 2.0.0
---
@@ -85,5 +85,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## RELATED LINKS
-[https://github.com/zloeber/ModuleBuild](https://github.com/zloeber/ModuleBuild)
+[https://github.com/ModuleBuild/ModuleBuild](https://github.com/ModuleBuild/ModuleBuild)
diff --git a/docs/Functions/Get-MBBuildEnvironment.md b/docs/Functions/Get-MBBuildEnvironment.md
index 4183956..3361d1a 100644
--- a/docs/Functions/Get-MBBuildEnvironment.md
+++ b/docs/Functions/Get-MBBuildEnvironment.md
@@ -1,7 +1,7 @@
---
external help file: ModuleBuild-help.xml
Module Name: ModuleBuild
-online version: https://github.com/zloeber/ModuleBuild
+online version: https://github.com/ModuleBuild/ModuleBuild
schema: 2.0.0
---
@@ -57,5 +57,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## RELATED LINKS
-[https://github.com/zloeber/ModuleBuild](https://github.com/zloeber/ModuleBuild)
+[https://github.com/ModuleBuild/ModuleBuild](https://github.com/ModuleBuild/ModuleBuild)
diff --git a/docs/Functions/Import-MBModulePrivateFunction.md b/docs/Functions/Import-MBModulePrivateFunction.md
index 49479c8..052f776 100644
--- a/docs/Functions/Import-MBModulePrivateFunction.md
+++ b/docs/Functions/Import-MBModulePrivateFunction.md
@@ -1,7 +1,7 @@
---
external help file: ModuleBuild-help.xml
Module Name: ModuleBuild
-online version: https://github.com/zloeber/ModuleBuild
+online version: https://github.com/ModuleBuild/ModuleBuild
schema: 2.0.0
---
@@ -172,5 +172,5 @@ Be very careful before importing everything as any wayward functions might get i
## RELATED LINKS
-[https://github.com/zloeber/ModuleBuild](https://github.com/zloeber/ModuleBuild)
+[https://github.com/ModuleBuild/ModuleBuild](https://github.com/ModuleBuild/ModuleBuild)
diff --git a/docs/Functions/Import-MBModulePublicFunction.md b/docs/Functions/Import-MBModulePublicFunction.md
index 234a579..c704fa3 100644
--- a/docs/Functions/Import-MBModulePublicFunction.md
+++ b/docs/Functions/Import-MBModulePublicFunction.md
@@ -1,7 +1,7 @@
---
external help file: ModuleBuild-help.xml
Module Name: ModuleBuild
-online version: https://github.com/zloeber/ModuleBuild
+online version: https://github.com/ModuleBuild/ModuleBuild
schema: 2.0.0
---
@@ -138,5 +138,5 @@ This only applies to modules of the type 'Script' and commands of the type 'Func
## RELATED LINKS
-[https://github.com/zloeber/ModuleBuild](https://github.com/zloeber/ModuleBuild)
+[https://github.com/ModuleBuild/ModuleBuild](https://github.com/ModuleBuild/ModuleBuild)
diff --git a/docs/Functions/Import-ModulePrivateFunction.md b/docs/Functions/Import-ModulePrivateFunction.md
index 49479c8..052f776 100644
--- a/docs/Functions/Import-ModulePrivateFunction.md
+++ b/docs/Functions/Import-ModulePrivateFunction.md
@@ -1,7 +1,7 @@
---
external help file: ModuleBuild-help.xml
Module Name: ModuleBuild
-online version: https://github.com/zloeber/ModuleBuild
+online version: https://github.com/ModuleBuild/ModuleBuild
schema: 2.0.0
---
@@ -172,5 +172,5 @@ Be very careful before importing everything as any wayward functions might get i
## RELATED LINKS
-[https://github.com/zloeber/ModuleBuild](https://github.com/zloeber/ModuleBuild)
+[https://github.com/ModuleBuild/ModuleBuild](https://github.com/ModuleBuild/ModuleBuild)
diff --git a/docs/Functions/Import-ModulePublicFunction.md b/docs/Functions/Import-ModulePublicFunction.md
index 234a579..c704fa3 100644
--- a/docs/Functions/Import-ModulePublicFunction.md
+++ b/docs/Functions/Import-ModulePublicFunction.md
@@ -1,7 +1,7 @@
---
external help file: ModuleBuild-help.xml
Module Name: ModuleBuild
-online version: https://github.com/zloeber/ModuleBuild
+online version: https://github.com/ModuleBuild/ModuleBuild
schema: 2.0.0
---
@@ -138,5 +138,5 @@ This only applies to modules of the type 'Script' and commands of the type 'Func
## RELATED LINKS
-[https://github.com/zloeber/ModuleBuild](https://github.com/zloeber/ModuleBuild)
+[https://github.com/ModuleBuild/ModuleBuild](https://github.com/ModuleBuild/ModuleBuild)
diff --git a/docs/Functions/Initialize-MBModuleBuild.md b/docs/Functions/Initialize-MBModuleBuild.md
index c03794d..656aa5e 100644
--- a/docs/Functions/Initialize-MBModuleBuild.md
+++ b/docs/Functions/Initialize-MBModuleBuild.md
@@ -1,7 +1,7 @@
---
external help file: ModuleBuild-help.xml
Module Name: ModuleBuild
-online version: https://github.com/zloeber/ModuleBuild
+online version: https://github.com/ModuleBuild/ModuleBuild
schema: 2.0.0
---
@@ -81,5 +81,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## RELATED LINKS
-[https://github.com/zloeber/ModuleBuild](https://github.com/zloeber/ModuleBuild)
+[https://github.com/ModuleBuild/ModuleBuild](https://github.com/ModuleBuild/ModuleBuild)
diff --git a/docs/Functions/Initialize-ModuleBuild.md b/docs/Functions/Initialize-ModuleBuild.md
index c03794d..656aa5e 100644
--- a/docs/Functions/Initialize-ModuleBuild.md
+++ b/docs/Functions/Initialize-ModuleBuild.md
@@ -1,7 +1,7 @@
---
external help file: ModuleBuild-help.xml
Module Name: ModuleBuild
-online version: https://github.com/zloeber/ModuleBuild
+online version: https://github.com/ModuleBuild/ModuleBuild
schema: 2.0.0
---
@@ -81,5 +81,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## RELATED LINKS
-[https://github.com/zloeber/ModuleBuild](https://github.com/zloeber/ModuleBuild)
+[https://github.com/ModuleBuild/ModuleBuild](https://github.com/ModuleBuild/ModuleBuild)
diff --git a/docs/Functions/Set-MBBuildEnvironment.md b/docs/Functions/Set-MBBuildEnvironment.md
index 4507b77..d293a73 100644
--- a/docs/Functions/Set-MBBuildEnvironment.md
+++ b/docs/Functions/Set-MBBuildEnvironment.md
@@ -1,7 +1,7 @@
---
external help file: ModuleBuild-help.xml
Module Name: ModuleBuild
-online version: https://github.com/zloeber/ModuleBuild
+online version: https://github.com/ModuleBuild/ModuleBuild
schema: 2.0.0
---
@@ -576,5 +576,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## RELATED LINKS
-[https://github.com/zloeber/ModuleBuild](https://github.com/zloeber/ModuleBuild)
+[https://github.com/ModuleBuild/ModuleBuild](https://github.com/ModuleBuild/ModuleBuild)
diff --git a/docs/ToDo.md b/docs/ToDo.md
index 0263c9b..bde4521 100644
--- a/docs/ToDo.md
+++ b/docs/ToDo.md
@@ -1,6 +1,6 @@
# ModuleBuild ToDo List
-Project Site: [https://github.com/zloeber/ModuleBuild](https://github.com/zloeber/ModuleBuild)
+Project Site: [https://github.com/ModuleBuild/ModuleBuild](https://github.com/ModuleBuild/ModuleBuild)
There are many items which are possible and should probably be added to this project. Here are a few thoughts on ones I'll probably get addressed sooner or later. I'm open to suggestions or pull requests.
diff --git a/docs/index.md b/docs/index.md
index 1a770d5..aa5cc7e 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -1,7 +1,7 @@
# ModuleBuild
A scaffolding framework which can be used to kickstart a generic PowerShell module project.
-Project Site: [https://github.com/zloeber/ModuleBuild](https://github.com/zloeber/ModuleBuild)
+Project Site: [https://github.com/ModuleBuild/ModuleBuild](https://github.com/ModuleBuild/ModuleBuild)
## What is ModuleBuild?
A scaffolding framework which can be used to kickstart a generic PowerShell module project with an Invoke-Build backend for regular deployments and other automated tasks.
diff --git a/mkdocs.yml b/mkdocs.yml
index d544769..c918dcc 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -1,6 +1,6 @@
use_directory_urls: false
site_author: Zachary Loeber
-copyright: ModuleBuild is licensed under this license
+copyright: ModuleBuild is licensed under this license
theme: readthedocs
site_name: ModuleBuild Docs
pages:
@@ -28,5 +28,5 @@ pages:
- 10 - Converting To ModuleBuild: Usage/10 - Converting To ModuleBuild.md
- 11 - Module Plugins: Usage/11 - Module Plugins.md
- 12 - Writing Pester tests: Usage/12 - Writing Pester tests.md
-repo_url: https://github.com/zloeber/ModuleBuild
+repo_url: https://github.com/ModuleBuild/ModuleBuild
diff --git a/plugins/plaster/module/1.1.0-c/TestPlasterManifest.ps1 b/plugins/plaster/module/1.1.0-c/TestPlasterManifest.ps1
index bcc88c7..1652c26 100644
--- a/plugins/plaster/module/1.1.0-c/TestPlasterManifest.ps1
+++ b/plugins/plaster/module/1.1.0-c/TestPlasterManifest.ps1
@@ -14,7 +14,7 @@ function Test-PlasterManifest {
)
begin {
- $schemaPath = "$PSScriptRoot\Schema\PlasterManifest-v1.xsd"
+ $schemaPath = Join-Path $PSScriptRoot "\Schema\PlasterManifest-v1.xsd"
# Schema validation is not available on .NET Core - at the moment.
if ('System.Xml.Schema.XmlSchemaSet' -as [type]) {
diff --git a/plugins/plaster/template/plasterManifest.xml b/plugins/plaster/template/plasterManifest.xml
index 118b665..1e475b5 100644
--- a/plugins/plaster/template/plasterManifest.xml
+++ b/plugins/plaster/template/plasterManifest.xml
@@ -4,7 +4,7 @@
templateType="Project" xmlns="http://www.microsoft.com/schemas/PowerShell/Plaster/v1">
ModuleBuild
- 2ff2f6d2-93f9-4aec-a353-a293d107aaf0
+ 163403c5-2eed-41a0-9d17-434bb09b9ba9
0.0.1
New ModuleBuild Project
Create a new PowerShell Module with a ModuleBuild wrapper
@@ -164,21 +164,21 @@
+ copyright="(c) ${PLASTER_Year} ${PLASTER_PARAM_ModuleCompanyName}. All rights reserved."
+ companyName="${PLASTER_PARAM_ModuleCompanyName}"
+ licenseUri="${PLASTER_PARAM_ModuleWebsite}/raw/master/LICENSE.md"
+ destination="${PLASTER_PARAM_ModuleName}.psd1"
+ moduleVersion="${PLASTER_PARAM_ModuleVersion}"
+ aliasesToExport=""
+ projectUri="${PLASTER_PARAM_ModuleWebsite}" />
diff --git a/plugins/plaster/template/scaffold/build/docs/Additional/Acknowledgements.md b/plugins/plaster/template/scaffold/build/docs/Additional/Acknowledgements.md
index 4a8a792..2f94573 100644
--- a/plugins/plaster/template/scaffold/build/docs/Additional/Acknowledgements.md
+++ b/plugins/plaster/template/scaffold/build/docs/Additional/Acknowledgements.md
@@ -4,4 +4,4 @@ Project Site: [<%=$PLASTER_PARAM_ModuleWebsite%>](<%=$PLASTER_PARAM_ModuleWebsit
This project owes some acknowledgements to other projects. Here are some other authors or projects which have made this project possible. If you believe you or a project should be included in this list please let us know.
-[ModuleBuild](https://github.com/zloeber/ModuleBuild) - A PowerShell module build framework.
\ No newline at end of file
+[ModuleBuild](https://github.com/ModuleBuild/ModuleBuild) - A PowerShell module build framework.
\ No newline at end of file
diff --git a/src/private/Test-MBPublicFunctionName.ps1 b/src/private/Test-MBPublicFunctionName.ps1
index fb42565..dceccb0 100644
--- a/src/private/Test-MBPublicFunctionName.ps1
+++ b/src/private/Test-MBPublicFunctionName.ps1
@@ -9,7 +9,7 @@ function Test-MBPublicFunctionName {
.PARAMETER ShowIssues
Displays possible issues with function
.LINK
- https://github.com/zloeber/ModuleBuild
+ https://github.com/ModuleBuild/ModuleBuild
.EXAMPLE
TBD
#>
diff --git a/src/public/Add-MBPublicFunction.ps1 b/src/public/Add-MBPublicFunction.ps1
index ff86295..bf60fe2 100644
--- a/src/public/Add-MBPublicFunction.ps1
+++ b/src/public/Add-MBPublicFunction.ps1
@@ -9,7 +9,7 @@ function Add-MBPublicFunction {
.PARAMETER Force
Ignore function name best practices warnings.
.LINK
- https://github.com/zloeber/ModuleBuild
+ https://github.com/ModuleBuild/ModuleBuild
.EXAMPLE
Add-MBPublicFunction -Name 'New-AwesomeFunction' -TemplateName:PlainPublicFunction
#>
diff --git a/src/public/Get-MBBuildEnvironment.ps1 b/src/public/Get-MBBuildEnvironment.ps1
index c518424..0e9cca7 100644
--- a/src/public/Get-MBBuildEnvironment.ps1
+++ b/src/public/Get-MBBuildEnvironment.ps1
@@ -10,7 +10,7 @@ function Get-MBBuildEnvironment {
Specifies the path to a buildenvironment.json file.
.LINK
- https://github.com/zloeber/ModuleBuild
+ https://github.com/ModuleBuild/ModuleBuild
.EXAMPLE
Get-MBBuildEnvironment
diff --git a/src/public/Import-MBModulePrivateFunction.ps1 b/src/public/Import-MBModulePrivateFunction.ps1
index 7c5193f..787d8f7 100644
--- a/src/public/Import-MBModulePrivateFunction.ps1
+++ b/src/public/Import-MBModulePrivateFunction.ps1
@@ -25,7 +25,7 @@ function Import-MBModulePrivateFunction {
Files, in regex pattern format, that will be ignored in this import.
.LINK
- https://github.com/zloeber/ModuleBuild
+ https://github.com/ModuleBuild/ModuleBuild
.EXAMPLE
Import-MBModulePrivateFunction -ModulePath 'C:\Temp\PSCloudFlare\PSCloudFlare.psd1'
diff --git a/src/public/Import-MBModulePublicFunction.ps1 b/src/public/Import-MBModulePublicFunction.ps1
index ccc8977..c3edcbd 100644
--- a/src/public/Import-MBModulePublicFunction.ps1
+++ b/src/public/Import-MBModulePublicFunction.ps1
@@ -19,7 +19,7 @@ function Import-MBModulePublicFunction {
Do not attempt to find and insert comment based help into the function.
.LINK
- https://github.com/zloeber/ModuleBuild
+ https://github.com/ModuleBuild/ModuleBuild
.EXAMPLE
Import-MBModulePrivateFunction -ModulePath 'C:\Temp\PSCloudFlare\release\PSCloudFlare\PSCloudFlare.psd1' -force
diff --git a/src/public/Initialize-MBModuleBuild.ps1 b/src/public/Initialize-MBModuleBuild.ps1
index 077cf7e..b95b884 100644
--- a/src/public/Initialize-MBModuleBuild.ps1
+++ b/src/public/Initialize-MBModuleBuild.ps1
@@ -13,7 +13,7 @@ function Initialize-MBModuleBuild {
If specified, will import a source module manifest file for module information.
.LINK
- https://github.com/zloeber/ModuleBuild
+ https://github.com/ModuleBuild/ModuleBuild
.EXAMPLE
PS> Initialize-MBModuleBuild -Path C:\Work\NewModule
diff --git a/src/public/Set-MBBuildEnvironment.ps1 b/src/public/Set-MBBuildEnvironment.ps1
index 41fab06..a19a673 100644
--- a/src/public/Set-MBBuildEnvironment.ps1
+++ b/src/public/Set-MBBuildEnvironment.ps1
@@ -10,7 +10,7 @@ Function Set-MBBuildEnvironment {
Specifies the path to a buildenvironment.json file.
.LINK
- https://github.com/zloeber/ModuleBuild
+ https://github.com/ModuleBuild/ModuleBuild
.EXAMPLE
Set-MBBuildEnvironment -OptionSensitiveTerms @('myapikey','myname','password')